Opened 9 years ago
Closed 9 years ago
#28158 closed Bug (invalid)
Error in tutorials
| Reported by: | Abraham Mercado | Owned by: | nobody |
|---|---|---|---|
| Component: | Documentation | Version: | 1.11 |
| 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
Hello, on the 3rd part of the tutorial, i think there is an error, This is the URL: https://docs.djangoproject.com/en/1.11/intro/tutorial03/
The section that has the error is the "Raising a 404" section. it says:
except Question.DoesNotExist:
when i think it should be "question" instead of "Question"
Attachments (1)
Change History (2)
by , 9 years ago
| Attachment: | Screen Shot 2017-05-01 at 6.01.49 PM.png added |
|---|
comment:1 by , 9 years ago
| Component: | Uncategorized → Documentation |
|---|---|
| Resolution: | → invalid |
| Status: | new → closed |
It's correct as is. Maybe you missed the from .models import Question import.
Note:
See TracTickets
for help on using tickets.
Example