Opened 17 years ago
Closed 17 years ago
#5668 closed (invalid)
"import datetime" is needed
Reported by: | 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
http://www.djangoproject.com/documentation/tutorial01/
On the first tutorial there are two examples that have the user enter the shell and play around. Both of these examples need to include "import datetime" directives to avoid failures on commands that use the datetime functionality!
Other than that, these tutorials have been a great help!
~Rob
Note:
See TracTickets
for help on using tickets.
There is only one example block in tutorial 1 where datetime is used at the interactive prompt and we import the datetime module at the third
>>>
line in that example. There doesn't seem to be any bug here.