﻿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
10158	error in forms docs	turadg	nobody	"on this page,
http://docs.djangoproject.com/en/dev/topics/forms/?from=olddocs

there is a function shown,

def contact(request):
    if request.method == 'POST': # If the form has been submitted...
        form = ContactForm(request.POST) # A form bound to the POST data
        if form.is_valid(): # All validation rules pass
            # Process the data in form.cleaned_data
            # ...
            return HttpResponseRedirect('/thanks/') # Redirect after POST
    else:
        form = ContactForm() # An unbound form

    return render_to_response('contact.html', {
        'form': form,
    })


the render_to_response method is missing the 'request' parameter.


also, I implore you to allow users to comment like the PHP docs do.

"		closed	Documentation	1.0		invalid			Unreviewed	0	0	0	0	0	0
