Cool tip!
> You're allowed to do admin.site.register([Model1, Model2, Model3]) to
> register multiple models. Note the creation of the list there, not directly
> calling the method with the objects as argumne.ts
--~--~-~--~~~---~--~~
You received this message bec
On Mon, Jun 8, 2009 at 5:29 AM, phred78 wrote:
>
> I think you need separate admin registers, like so:
>
> admin.site.register (Patient)
> admin.site.register (Doctor)
> admin.site.register (Pills)
> admin.site.register (Orders)
>
> You'd only put two together if you created some special instruct
I think you need separate admin registers, like so:
admin.site.register (Patient)
admin.site.register (Doctor)
admin.site.register (Pills)
admin.site.register (Orders)
You'd only put two together if you created some special instructions
for the admin. Then you'd have something like:
admin.site.
On Mon, Jun 8, 2009 at 1:45 PM, jayvandal 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 scre
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, Pill
5 matches
Mail list logo