Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

magic-removal: Fixed #1713 -- Fixed bug in docs/forms.txt

git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2770 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit a5afa8af63755ac948a4d9ebcb736c008d6bc81c 1 parent 84fd6a9
@adrianholovaty adrianholovaty authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/forms.txt
View
4 docs/forms.txt
@@ -162,8 +162,8 @@ creation view that takes validation into account::
if errors:
return render_to_response('places/errors.html', {'errors': errors})
else:
- manipulator.do_html2python(request.POST)
- new_place = manipulator.save(request.POST)
+ manipulator.do_html2python(new_data)
+ new_place = manipulator.save(new_data)
return HttpResponse("Place created: %s" % new_place)
In this new version, errors will be found -- ``manipulator.get_validation_errors``
Please sign in to comment.
Something went wrong with that request. Please try again.