Opened 7 years ago

Closed 7 years ago

#5668 closed (invalid)

"import datetime" is needed

Reported by: rob@… 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:

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

Change History (1)

comment:1 Changed 7 years ago by mtredinnick

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

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.

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