From a5afa8af63755ac948a4d9ebcb736c008d6bc81c Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Fri, 28 Apr 2006 19:47:46 +0000 Subject: [PATCH] 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 --- docs/forms.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/forms.txt b/docs/forms.txt index d1af508d59..f72ae4cf4e 100644 --- a/docs/forms.txt +++ b/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``