#26259: Form.cleaned_data should call is_valid() if necessary
-----------------------------+--------------------------------------
     Reporter:  guettli      |                    Owner:  nobody
         Type:  New feature  |                   Status:  closed
    Component:  Forms        |                  Version:  1.9
     Severity:  Normal       |               Resolution:  wontfix
     Keywords:               |             Triage Stage:  Unreviewed
    Has patch:  0            |      Needs documentation:  0
  Needs tests:  0            |  Patch needs improvement:  0
Easy pickings:  0            |                    UI/UX:  0
-----------------------------+--------------------------------------
Changes (by timgraham):

 * status:  new => closed
 * resolution:   => wontfix
 * component:  Uncategorized => Forms
 * needs_tests:   => 0
 * needs_better_patch:   => 0
 * needs_docs:   => 0
 * type:  Uncategorized => New feature


Comment:

 I don't think an implicit call to `is_valid()` is a good idea. Most of the
 time, you do want different handling for valid and invalid forms. Of
 course, you could write your own subclass of `Form` which has the behavior
 you desire.

 Feel free to raise the idea on the DevelopersMailingList for other
 opinions.

--
Ticket URL: <https://code.djangoproject.com/ticket/26259#comment:1>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.9c555dd634eda36e5eee5a89e31811e7%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to