Works like a charm thanks On 5/4/06, Luke Plant <[EMAIL PROTECTED]> wrote: > > On Wednesday 03 May 2006 23:52, Luke Plant wrote: > > > /myproject > > /myapp > > /models > > __init__.py > > foo.py > > bar.py > > > > > > In __init__.py, I have: > > ---------- > > from foo import Foo, SomeThingElse > > from bar import Bar, AnotherSomething > > # a few more, but no __all__ line > > ---------- > > ... and the missing ingredient which makes it work is setting > 'app_label' in the model's 'Meta' class, as other people have pointed > out. > > Luke > > -- > I teleported home one night > With Ron and Sid and Meg, > Ron stole Meggie's heart away > And I got Sidney's leg > (THHGTTG) > > Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/ > > > >
-- Honza Král E-Mail: [EMAIL PROTECTED] ICQ#: 107471613 Phone: +420 606 678585 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---