Opened 9 years ago

Closed 9 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 Chris Beaven 9 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 9 years ago by Chris Beaven

Summary: Small amount of missing codeSmall amount of missing code in Tutorial 1
Triage Stage: UnreviewedAccepted

Changed 9 years ago by Chris Beaven

Attachment: 4654.patch added

comment:2 Changed 9 years ago by Chris Beaven

Has patch: set
Triage Stage: AcceptedReady for checkin

comment:3 Changed 9 years ago by Russell Keith-Magee

Resolution: wontfix
Status: newclosed

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