On Fri, Aug 19, 2011 at 11:42 PM, Joshua Russo <josh.r.ru...@gmail.com> wrote:
> My models.py was getting too large so I tried to split it into
> /models
>   __init__.py
>   someLogicalGroupOfModels.py
>   andSoOn.py
> in the __init__.py I have
> from appName.models.someLogicalGroupOfModels import *
> from appName.models.andSoOn import *
> All of my imports still work but the queries are now looking for
> models_someTableName instead of appName_someTableName.
> I know I've done this before. Is there something I'm doing wrong?

Not wrong, you only need a small additional detail:

https://docs.djangoproject.com/en/1.3/ref/models/options/#app-label

-- 
Ramiro Morales

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to