On Dec 14 2010, 12:09 pm, Nick <nickt...@gmail.com> wrote:
> I have three models. Two are inlines of another model in the Admin. I
> have their extra parameters set to 0 so:
>
> class model1(admin.StackedInline):
> model = Model1
> extra = 0
>
> class model2(admin.StackedInline):
> model = Model1
> extra = 0
>
> class model3(admin.ModelAdmin):
> inline = [
> model1,
> model2,
> ]
>
> everything renders properly except there is a blank model form below
> each of the inlines in model 3's admin. How do i get rid of these
> orphans? I can't teach them to pick pockets in 19th century London
> (little Charles Dickens humor there).
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment