If each of Model
objects has many Manager
and QuerySet
, it causes my models.py
to be unreadable and so long. How do I manage them?
I come up with a solution. Originally. Model
, Manager
and QuerySet
are in models.py
. I want to separate from them and make independent files, for example, managers.py
, queryset.py
.
This is my original directory.
├── views.py
├── urls.py
├── models.py
└── ...
This is new directory by my method.
├── views.py
├── urls.py
├── models.py
├── managers.py
├── queryset.py
└── ...
Is is okay? or anyone has better propose?