Ticket #1713: forms.txt.diff

File forms.txt.diff, 644 bytes (added by Simon Willison, 9 years ago)

patch

  • forms.txt

     
    162162        if errors:
    163163            return render_to_response('places/errors.html', {'errors': errors})
    164164        else:
    165             manipulator.do_html2python(request.POST)
    166             new_place = manipulator.save(request.POST)
     165            manipulator.do_html2python(new_data)
     166            new_place = manipulator.save(new_data)
    167167            return HttpResponse("Place created: %s" % new_place)
    168168
    169169In this new version, errors will be found -- ``manipulator.get_validation_errors``
Back to Top