1
0
mirror of https://github.com/django/django.git synced 2024-12-24 10:05:46 +00:00

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:
Adrian Holovaty 2005-11-16 03:37:01 +00:00
parent 6b870c136b
commit 17d54d1d9e

View File

@ -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:: Here's a simple function that might drive the above form::
def contact_form(request): def contact_form(request):
manipulator = ContactFormManipulator() manipulator = ContactManipulator()
if request.POST: if request.POST:
new_data = request.POST.copy() new_data = request.POST.copy()
errors = manipulator.get_validation_errors(new_data) errors = manipulator.get_validation_errors(new_data)