I am doing the fat models approach, so I have transformed my models.py into a package thus:
+--polls/
| +--models/
| +--__init__.py
| +--__shared_imports.py
| +--Choice.py
| +--Question.py
My main part of the question is the __shared_imports.py
: I realized that we've common import statements in various modules in the package and decided to to have that file to do the imports, then in my modules I write this:
from __shared_imports.py import *
Everything works fine, but just want to know if this approach is good. I'll appreciate your thoughts on this.