Opened 16 years ago

Closed 16 years ago

#7022 closed (invalid)

trunk tutorial02 needs 'import datetime'

Reported by: Scott Pascoe <scott.pascoe@…> Owned by: nobody
Component: Documentation Version: dev
Severity: 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

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 by Malcolm Tredinnick, 16 years ago

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