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.

Are you affected by this? Audit your codebase in seconds to find out.

Configuring this check

Django 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 Django Doctor.