#18376: Model formsets incorrectly apply unique checks to NULL fields
--------------------------+------------------------------------------------
     Reporter:  acdha     |      Owner:  nobody
         Type:  Bug       |     Status:  new
    Component:  Forms     |    Version:  1.4
     Severity:  Normal    |   Keywords:  formset admin list_editable unique
 Triage Stage:            |  Has patch:  0
  Unreviewed              |      UI/UX:  0
Easy pickings:  0         |
--------------------------+------------------------------------------------
 This is similar to #13811 but applies to fields declared with
 ``unique=True`` rather than ``unique_together``: a model formset will
 incorrectly raise a ValidationError during ``validate_unique`` if more
 than one of the objects have a null value. I noticed this on a site using
 admin list_editable with a blank, null field but the problem appears to
 affect any model formset.

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

Reply via email to