Opened 17 years ago
Closed 17 years ago
#7022 closed (invalid)
trunk tutorial02 needs 'import datetime'
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.
Note:
See TracTickets
for help on using tickets.
The
datetime
module was imported whenwas_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.