Opened 11 years ago
Closed 11 years ago
#22762 closed Bug (invalid)
Problem in tutorial part 2
Description ¶
Hi I am reading the Django docs and it gets confusing in part 2.
Under "Customize the admin change list", it starts to refer to: "list_display = ('question', 'pub_date')". This is not previously mentioned in the tutorial, and thus goes off the rail. Until then, my class PollAdmin looks like this:
fieldsets = [
(None, {'fields': question}),
('Date information', {'fields': pub_date, 'classes': collapse}),
]
as it is shown in the section before that.
Please fix or tell me where I am going wrong?
Thanks
I think the wording confused me, maybe it should clearly say you need to add this line.