#14885: is_valid for ModelForm changes instance if instance is provided
-------------------------------------+-------------------------------------
     Reporter:  italomaia            |                    Owner:  stumbles
         Type:                       |                   Status:  new
  Cleanup/optimization               |                  Version:  1.2
    Component:  Documentation        |               Resolution:
     Severity:  Normal               |             Triage Stage:  Accepted
     Keywords:  forms, is_valid,     |      Needs documentation:  0
  bad data                           |  Patch needs improvement:  0
    Has patch:  1                    |                    UI/UX:  0
  Needs tests:  0                    |
Easy pickings:  1                    |
-------------------------------------+-------------------------------------
Changes (by stumbles):

 * status:  reopened => new
 * owner:  nobody => stumbles
 * has_patch:  0 => 1


Comment:

 I've added a patch to point out both that `is_valid()` causes the model
 instance to be modified in place, and also that this modification can be
 partial.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/14885#comment:5>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to