Opened 7 years ago

Closed 7 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)

Screen Shot 2017-05-01 at 6.01.49 PM.png (118.5 KB ) - added by Abraham Mercado 7 years ago.
Example

Download all attachments as: .zip

Change History (2)

by Abraham Mercado, 7 years ago

Example

comment:1 by Tim Graham, 7 years ago

Component: UncategorizedDocumentation
Resolution: invalid
Status: newclosed

It's correct as is. Maybe you missed the from .models import Question import.

Note: See TracTickets for help on using tickets.
Back to Top