#32703: Deferred UniqueConstraints should not be validated in validate_unique()
-------------------------------------+-------------------------------------
     Reporter:  Manuel Baclet        |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:  Database layer       |                  Version:  3.1
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:  invalid
     Keywords:  UniqueConstraint     |             Triage Stage:
  deferrable                         |  Unreviewed
    Has patch:  0                    |      Needs documentation:  1
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  1                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Manuel Baclet):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 The save method used in my test is broken. `validate_unique()` is not
 called in the situation described above.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32703#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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.80aa4d6a77ddd463f95809b43a4053d6%40djangoproject.com.

Reply via email to