#32250: Typo in tutorial 04
-----------------------------------------+------------------------
Reporter: mattbingham | Owner: nobody
Type: Bug | Status: new
Component: Documentation | Version: 3.1
Severity: Normal | Keywords: typo
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-----------------------------------------+------------------------
Hi,
I'm just working my way through the tutorials and ran into an issue on
tutorial 4. I keep getting a page not found error, and I believe this may
be due to a typo in the tutorial.
In the Amend views section
(https://docs.djangoproject.com/en/3.1/intro/tutorial04/#amend-views), I
believe the code:
{{{#!python
class DetailView(generic.DetailView):
model = Question
template_name = 'polls/detail.html'
}}}
should actually be:
{{{#!python
class DetailView(generic.DetailView):
model = Question
template_name = 'polls/details.html'
}}}
I.e. '''detail.html''' >> '''details.html'''
Obviously, I may be wrong as I'm a complete beginner, but wanted to
mention it in case this is a typo and others run into the same issue.
--
Ticket URL: <https://code.djangoproject.com/ticket/32250>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/054.6e86e0cf21f86a5d348ec1c6998952a9%40djangoproject.com.