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.
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
--
Ticket URL: <https://code.djangoproject.com/ticket/23645#comment:1>
* status: new => closed
* resolution: => fixed
--
Ticket URL: <https://code.djangoproject.com/ticket/23645#comment:2>
Comment (by daixtr):
Sorry, there was no typo in the documentation at all. I am promptly
closing this ticket.
--
Ticket URL: <https://code.djangoproject.com/ticket/23645#comment:3>
* resolution: fixed => invalid
--
Ticket URL: <https://code.djangoproject.com/ticket/23645#comment:4>