Ticket #18548: 18548.diff

File 18548.diff, 600 bytes (added by Tim Graham, 12 years ago)
  • docs/topics/forms/modelforms.txt

    diff --git a/docs/topics/forms/modelforms.txt b/docs/topics/forms/modelforms.txt
    index caff03c..c9e7a46 100644
    a b of cleaning the model you pass to the ``ModelForm`` constructor. For instance,  
    202202calling ``is_valid()`` on your form will convert any date fields on your model
    203203to actual date objects. If form validation fails, only some of the updates
    204204may be applied. For this reason, you'll probably want to avoid reusing the
    205 model instance.
     205model instance passed to the form.
    206206
    207207
    208208The ``save()`` method
Back to Top