#16707: Form.is_valid should be a property.
----------------------------------+----------------------------
 Reporter:  mjtamlyn              |          Owner:  mjtamlyn
     Type:  Cleanup/optimization  |         Status:  new
Milestone:                        |      Component:  Forms
  Version:  SVN                   |       Severity:  Normal
 Keywords:                        |   Triage Stage:  Unreviewed
Has patch:  1                     |  Easy pickings:  0
    UI/UX:  0                     |
----------------------------------+----------------------------
 Reasoning: It depends on a property (Form.errors) which is where the work
 happens. Calling Form.is_valid() twice doesn't validate the form twice. It
 seems a similar situation to HttpRequest.is_ajax.

 See pull request here: https://github.com/django/django/pull/35

-- 
Ticket URL: <https://code.djangoproject.com/ticket/16707>
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to