On Wed, 2006-05-03 at 16:29 +0200, Honza Král wrote: > BEGIN; > COMMIT; > is the output of manage.py sql app (empty sql script for postgreSQL) > > I am fairly new to python, so I completely don't mind trivial questions, > in app/models/__init__.py I have: > ---- > # base models > from proj.app.models.base import * > # models derived from base > from proj.app.models.more_models import * > > # I even added > __all__ = [ 'List', 'Of', 'All', 'My', 'Model', 'Classes' ] > ----- > and it still wouldn't work > > if I run shell and try to use my models from there ( from > proj.app.models import * ) everything works OK, dir shows all my model > classes...
I thought this should work, but I must admit that a quick test I did just now completely failed. Wait for the Earth to turn a little more on its axis: Luke Plant has a bit of experience in this area (every time it broke, he screamed), so I think we are missing something obvious. Give it some time and see if Luke notices this thread (or somebody else spots what's wrong). Cheers, Malcolm --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---