Opened 10 years ago

Closed 10 years ago

#7022 closed (invalid)

trunk tutorial02 needs 'import datetime'

Reported by: Scott Pascoe <scott.pascoe@…> Owned by: nobody
Component: Documentation Version: master
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


In the section of the documentation/tutorial02, at the

Customize the admin change list section, it is necessary to include import datetime otherwise the tutorial doesn't compile.

Change History (1)

comment:1 Changed 10 years ago by Malcolm Tredinnick

Resolution: invalid
Status: newclosed

The datetime module was imported when was_published_today() was created in the first part of the tutorial. It is assumed that you are following the tutorial sequentially and importing it a second time would confuse a different group of people.

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