> so in admin interface i have 3 apps eventsapp, expoapp, and foodapp. > when i write in terminal > :~/DJANGOPRJ/myproject/exposite$/ python manage.py shell>>from > myproject.eventsapp.models import * > > Traceback (most recent call last): > File "<console>", line 1, in ? > ImportError: No module named myproject.eventsapp.models >
My structure isn't quite the same as yours, but in my experience manage.py gets confused with multiple sites. Try python django-admin.py <command> --settings=exposite.settings --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---