Opened 12 years ago
Closed 12 years ago
#20035 closed Uncategorized (invalid)
Last block of commands in python shell show wrong text "What's new?" should be "What's up?"
Reported by: | Null | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | 1.5 |
Severity: | Normal | Keywords: | doc 1.5 |
Cc: | Null.Jared@… | Triage Stage: | Unreviewed |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
last block is shown in the doc as:
# Make sure our __unicode__() addition worked. >>> Poll.objects.all() [<Poll: What's up?>]
All the "What's up" should actually be "What's new?" in the doc:
# Make sure our __unicode__() addition worked. >>> Poll.objects.all() [<Poll: What's new?>]
Also from the start of the doc it would be nice to mention that Python will let you mix tabs and spaces for indentation but this can lead to problems if care is not taken, and possibly a vim configuration suggestion or editor note.
Note:
See TracTickets
for help on using tickets.
A little above, you will see that the "Whats' new?" string content has been changed to "Whats' up?":
Therefore I think the current tutorial content is fine.