Thank you for setting me straight. What a dumb mistake. :) On Apr 21, 11:03 am, Daniel Roseman <dan...@roseman.org.uk> wrote: > On Apr 21, 3:20 pm, Brad Pitcher <bradpitc...@gmail.com> wrote: > > > Hi guys, > > This is driving me a little crazy, so I hope someone can offer good > > advice. I've specified an inline class in my admin.py file, and in it > > I have specified a subset of the classes attributes with > > list_display. However, what I set in list_display has no effect on > > what is rendered for the inline. I don't understand, the > > documentation says that TabularInline and StackInline both inherit > > from ModelAdmin, so they should also use list_display. > > What am I missing? > > > I'm using Django-1.1.1 > > Thanks, > > Brad > > What makes you think that? 'list_display' controls the elements that > are displayed on the changelist page for a model, not in the edit > form. As with the main admin class, if you want to determine what > fields are available on the form, use 'fields' or 'exclude'. > -- > DR. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-us...@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group > athttp://groups.google.com/group/django-users?hl=en.
-- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@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.