On Aug 11, 2005, at 11:16 AM, Ludovico Magnocavallo wrote:
Jacob Kaplan-Moss wrote:
Ah, chances are that's because you didn't add the model file to
the __all__ in myapp/models/__init__.py
Nope, it's there...
Hm... what's the output of "django-admin sql" look like?
Jacob
Is there a standard way to have multiple files (eg one per class)
inside an app's model/ folder?
I seem to end up with a different app prefix for each file no matter
what I try, eg mysite/apps/myapp/boxes.py looks for a boxes_boxes table
instead of myapp_boxes.
2 matches
Mail list logo