#30201: Form with IntegerRangeField does not validate
----------------------------------+--------------------------------------
     Reporter:  George Tantiras   |                    Owner:  nobody
         Type:  Bug               |                   Status:  closed
    Component:  contrib.postgres  |                  Version:  2.1
     Severity:  Normal            |               Resolution:  invalid
     Keywords:                    |             Triage Stage:  Unreviewed
    Has patch:  0                 |      Needs documentation:  0
  Needs tests:  0                 |  Patch needs improvement:  0
Easy pickings:  0                 |                    UI/UX:  0
----------------------------------+--------------------------------------

Comment (by George Tantiras):

 Thank you, it works!

 I blindly followed the docs of
 
[https://docs.djangoproject.com/en/2.1/ref/contrib/postgres/forms/#django.contrib.postgres.forms.SimpleArrayField
 SimpleArrayField ] and tried to accordingly assign the value in the Form.

 The thing is that neither
 
[https://docs.djangoproject.com/en/2.1/ref/forms/widgets/#django.forms.MultiWidget
 MultiWidget] nor
 
[https://docs.djangoproject.com/en/2.1/ref/contrib/postgres/forms/#django.contrib.postgres.forms.RangeWidget
 RangeWidget] have any examples.

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

Reply via email to