This might be off topic, but maybe you should consider splitting your
application into multiple smaller reusable applications? If the models
of a single application need categorizing, you might have a sign of
needing to split them up.
A talk on reusable applications by James Bennet from Dja
Stephen Sundell schrieb:
> I really was just looking for a way
> to separate models into different modules or files within the same
> application. Is this possible?
>
Hi,
I do it like this:
Directory myapp/models/ contains:
__init__.py
myclass.py
file __init__.py:
from myclass impo
i think he means like this:
+application
|
+-part1
||
| +-models.py
|
+-part2
||
| +-models.py
|
+-urls.py
|
+-views.py
On Sep 25, 4:01 pm, Stephen Sundell <[EMAIL PROTECTED]> wrote:
> I am trying to create one application with multipl
I am trying to create one application with multiple modules in it.
What I have now is an application directory with multiple directories
each with its own models.py file. If I include the application in the
settings file and run validate it checks the models, but syncdb
doesn't add them to the da
4 matches
Mail list logo