Opened 17 years ago

Closed 17 years ago

#4654 closed (wontfix)

Small amount of missing code in Tutorial 1

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

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 17 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 by Chris Beaven, 17 years ago

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

by Chris Beaven, 17 years ago

Attachment: 4654.patch added

comment:2 by Chris Beaven, 17 years ago

Has patch: set
Triage Stage: AcceptedReady for checkin

comment:3 by Russell Keith-Magee, 17 years ago

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