#31583: Extend deferred unique constraint support to OneToOneField
-------------------------------------+-------------------------------------
               Reporter:  BorisZZZ   |          Owner:  nobody
                   Type:  New        |         Status:  new
  feature                            |
              Component:  Database   |        Version:  master
  layer (models, ORM)                |
               Severity:  Normal     |       Keywords:  DEFERRED
           Triage Stage:             |      Has patch:  0
  Unreviewed                         |
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  0
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 Support for DEFERRABLE INITIALLY DEFERRED was added in
 https://code.djangoproject.com/ticket/20581 . It would be great if it
 could be extended to the implicit Unique constraint generated by
 `OneToOneField`, say, by adding an argument:
 `OneToOneField(OtherModel, defer=models.Deferrable.DEFERRED)`

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31583>
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/051.24fd882597acbe5fc4b91ad1c6901bf4%40djangoproject.com.

Reply via email to