Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[1.4.X] Fixed #18548 - Clarified note regarding reusing model instanc…

…es when form validation fails.

Backport of fd02bcf from master
  • Loading branch information...
commit 6ebb6f918872c2a714ddb9808984e70daaa95cd8 1 parent 8102070
@timgraham timgraham authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/topics/forms/modelforms.txt
View
2  docs/topics/forms/modelforms.txt
@@ -206,7 +206,7 @@ of cleaning the model you pass to the ``ModelForm`` constructor. For instance,
calling ``is_valid()`` on your form will convert any date fields on your model
to actual date objects. If form validation fails, only some of the updates
may be applied. For this reason, you'll probably want to avoid reusing the
-model instance.
+model instance passed to the form, especially if validation fails.
The ``save()`` method
Please sign in to comment.
Something went wrong with that request. Please try again.