#28171: Raise an exception if Form's empty_permitted and use_required_attribute
arguments conflict
-------------------------------------+-------------------------------------
     Reporter:  Vlastimil Zíma       |                    Owner:  Naveen
         Type:                       |  Yadav
  Cleanup/optimization               |                   Status:  assigned
    Component:  Forms                |                  Version:  master
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Tim Graham):

 I expect a `ValueError` to be raised in `BaseForm.__init__()` if the
 values of `empty_permitted` and `use_required_attribute` are incompatible.
 This is a programming error, not a validation error that the user can do
 anything about.

--
Ticket URL: <https://code.djangoproject.com/ticket/28171#comment:4>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/063.5807b14ca6bd0ed93a47b4b036820376%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to