Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #18548 - Clarified note regarding reusing model instances when …

…form validation fails.
  • Loading branch information...
commit fd02bcff4aee885d395f2439efdd522c22e40794 1 parent bfcda77
Tim Graham authored October 16, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  docs/topics/forms/modelforms.txt
2  docs/topics/forms/modelforms.txt
@@ -202,7 +202,7 @@ of cleaning the model you pass to the ``ModelForm`` constructor. For instance,
202 202
 calling ``is_valid()`` on your form will convert any date fields on your model
203 203
 to actual date objects. If form validation fails, only some of the updates
204 204
 may be applied. For this reason, you'll probably want to avoid reusing the
205  
-model instance.
  205
+model instance passed to the form, especially if validation fails.
206 206
 
207 207
 
208 208
 The ``save()`` method

0 notes on commit fd02bcf

Please sign in to comment.
Something went wrong with that request. Please try again.