Ooops, it's me ... these tricks work perfectly, sorry !
On 5 oct, 17:37, JF Simon wrote:
> I made some tests, it seems that imports don't work.
>
> In th __init__ I tried:
> from project.app.models.module import Class
> ... and Class is not imported
>
> Is the project package
I made some tests, it seems that imports don't work.
In th __init__ I tried:
from project.app.models.module import Class
... and Class is not imported
Is the project package in the python's path as call manage.py
syncdb ?
GRRR
On 5 oct, 17:24, JF Simon wrote:
> Hi,
>
> I
Hi,
I tried in vain to make it work !!! I've got some models modules in a
pckage named "models" in my app, I tried these 2 solutions (who are
mostly the sames) :
- http://www.acooke.org/cute/UsingaDire0.html
-
http://www.ifisgeek.com/2009/01/26/splitting-django-models-into-separate-files/
So:
3 matches
Mail list logo