#27223: model RangeField with default value are skiped in ModelForm full_clean
validation in construct_instance function
---------------------------------+--------------------
     Reporter:  taxido           |      Owner:  nobody
         Type:  Bug              |     Status:  new
    Component:  Forms            |    Version:  1.10
     Severity:  Release blocker  |   Keywords:
 Triage Stage:  Unreviewed       |  Has patch:  0
Easy pickings:  0                |      UI/UX:  0
---------------------------------+--------------------
 
https://github.com/django/django/commit/4bc6b939944183533ae74791d21282e613f63a96
 That change in construct_instance function makes a bug with custom
 full_clean validation for *RangeField like fields

 RangeField values are send in POST method by two key=value pair:
 my_range_0=1&my_range_1=9
 that there is not my_range field in POST so field value is skipped and not
 copied to instance.

--
Ticket URL: <https://code.djangoproject.com/ticket/27223>
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/049.589ce4b1432bc6d6e3efde764dbbcb64%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to