mirror of https://github.com/django/django.git
Fixed #808 -- Fixed typo in docs/forms.txt. Thanks, limodou
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1263 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
6b870c136b
commit
17d54d1d9e
|
@ -389,7 +389,7 @@ You use this custom manipulator exactly as you would use an auto-generated one.
|
|||
Here's a simple function that might drive the above form::
|
||||
|
||||
def contact_form(request):
|
||||
manipulator = ContactFormManipulator()
|
||||
manipulator = ContactManipulator()
|
||||
if request.POST:
|
||||
new_data = request.POST.copy()
|
||||
errors = manipulator.get_validation_errors(new_data)
|
||||
|
|
Loading…
Reference in New Issue