Ticket #4349: newforms.diff

File newforms.diff, 478 bytes (added by rosskarchner@…, 18 years ago)

newforms.txt patch

  • docs/newforms.txt

     
    333333    def contact(request):
    334334        if request.POST:
    335335            f = ContactForm(request.POST)
    336             if f.is_valid:
     336            if f.is_valid():
    337337                # ... do something with f.cleaned_data
    338338                return HttpResponseRedirect('/url/on_success/')
    339339        else:
Back to Top