Opened 8 years ago

Closed 8 years ago

#4654 closed (wontfix)

Small amount of missing code in Tutorial 1

Reported by: rtconner Owned by: jacob
Component: Documentation Version: master
Severity: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

On this page: http://www.djangoproject.com/documentation/tutorial01/

In the part just below
"Once you’re in the shell, explore the database API:"

you might want to add in

from datetime import datetime

new python users might not know to do that as i did.

Attachments (1)

4654.patch (427 bytes) - added by SmileyChris 8 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 8 years ago by SmileyChris

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Summary changed from Small amount of missing code to Small amount of missing code in Tutorial 1
  • Triage Stage changed from Unreviewed to Accepted

Changed 8 years ago by SmileyChris

comment:2 Changed 8 years ago by SmileyChris

  • Has patch set
  • Triage Stage changed from Accepted to Ready for checkin

comment:3 Changed 8 years ago by russellm

  • Resolution set to wontfix
  • Status changed from new to closed

If you're following the tutorial, the import for datetime is on line 447, when you create the new Poll.

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