#23645: Critical technical typo error in documentation
-------------------------------+-------------------------
Reporter: daixtr | Owner: nobody
Type: Uncategorized | Status: new
Component: Documentation | Version: 1.7
Severity: Normal | Keywords: question_id
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+-------------------------
The error is in "« Writing your first Django app, part 3" on section "A
shortcut: get_object_or_404()". In the code snippet of polls/views.py for
the detail() function, the return statement should be changed from:
return render(request, 'polls/detail.html', {'question': question})
to
return render(request, 'polls/detail.html', {'question': question_id})
--
Ticket URL: <https://code.djangoproject.com/ticket/23645>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/049.3f926eb299e69dd0ccf397b8e105acb0%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.