id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 12770 Docs 1.1: Update tuto3 and tuto4 by including RequestContext and csrf_token dsnoeck nobody "In the chapter ""Raising 404"" of the tutorial 3, the code need to be updated with the RequestContext() (Only for dev doc) {{{ def detail(request, poll_id): p = get_object_or_404(Poll, pk=poll_id) return render_to_response('polls/detail.html', {'poll': p}, context_instance=RequestContext(request)) }}} And the chapter ""Write a simple form"" of tutorial 4, need to update the code of the detail view as well by adding {% csrf_token %} in the form -- Damien " closed Documentation 1.1 invalid RequestContext Unreviewed 1 0 0 0 0 0