On Mon, Jun 8, 2009 at 1:45 PM, jayvandal<jayvan...@gmail.com> wrote: > > I have four tables > 1 Patient > 2 has many doctors > 3 doctor issues pills > 4 order many pills > when I run syncdb I get the 3 levels showing in adminstrative screen. > I can't get it to show the order screen (4) > > I tried the admin.site.register (Patient, Doctor, Pills, Orders) > > It tells me I can have only 3, and doesn't refer to Orders > Any help, Please
If you want to register 4 classes, then you need to make 4 calls to register: admin.site.register(Patient) admin.site.register(Doctor) admin.site.register(Pills) admin.site.register(Orders) I'm uncertain why the approach you tried works at all. Was there something in the documentation that suggested that this approach would work? Yours, Russ Magee %-) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---