I want to create folder inside the app folder eg:
application
__init__.py
models.py
views.py
manager.py
...
i want to separate in folder, like, one folder to models when i put
models class inside like:
application
__init__.py
models
partner.py
anothermodel.py
views
index.py
partner.py
why i can do it, with the best manner? i know if i make the import
inside the normal like models.py file like below this work, but have
the best way to do it?
from application.models.partner import __all__
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.