Opened 11 years ago

Closed 11 years ago

#22762 closed Bug (invalid)

Problem in tutorial part 2

Reported by: kash.karimi@… Owned by: nobody
Component: Documentation Version: 1.6
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

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

Change History (1)

comment:1 by kash.karimi@…, 11 years ago

Resolution: invalid
Status: newclosed

I think the wording confused me, maybe it should clearly say you need to add this line.

Note: See TracTickets for help on using tickets.
Back to Top