Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #99 from danielroseman/master

Docs: "Form in a view" example doesn't use RequestContext
  • Loading branch information...
commit 6799ffad9a4c7cd22c86c8e3cfdb8e55ad85cdc3 2 parents 5ef599c + 5c59e43
@adrianholovaty adrianholovaty authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/topics/forms/index.txt
View
2  docs/topics/forms/index.txt
@@ -99,7 +99,7 @@ The standard pattern for processing a form in a view looks like this:
else:
form = ContactForm() # An unbound form
- return render_to_response('contact.html', {
+ return render(request, 'contact.html', {
'form': form,
})
Please sign in to comment.
Something went wrong with that request. Please try again.