Taller models.py with many Models may be more difficult to maintain than shorter models.py with fewer Models.

There is a limit to how many items a developer can consider when forming a mental model of source code.

It may be time to split an application if models.py is very long.

We're your Django code review copilot. Get code improvements right in your pull request with our GitHub code review bot.

Configuring this check

Code Review Doctor will run this check by default. No configuration is needed but the check can be turned on/off using check code tall-models in your pyproject.toml file.

Read more about configuring Code Review Doctor.