Opened 13 years ago
Closed 13 years ago
#19574 closed Uncategorized (duplicate)
Tutorial query date should be updated
| Reported by: | anonymous | Owned by: | nobody |
|---|---|---|---|
| Component: | Documentation | Version: | 1.4 |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
The tutorial includes the following:
# Get the poll whose year is 2012.
Poll.objects.get(pub_dateyear=2012)
<Poll: What's up?>
Anyone following this tutorial in 2013 will not get the expected output.
Note:
See TracTickets
for help on using tickets.
Thanks, this has already been reported in #19555.