Code

Opened 7 years ago

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

Download all attachments as: .zip

Change History (4)

comment:1 Changed 7 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 7 years ago by SmileyChris

comment:2 Changed 7 years ago by SmileyChris

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

comment:3 Changed 7 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.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.