#31440: Add a standard way to set deferrable constraints
-------------------------------------+-------------------------------------
Reporter: Ian Foote | Owner: nobody
Type: New | Status: new
feature |
Component: Database | Version: master
layer (models, ORM) |
Severity: Normal | Keywords: constraints
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
The behaviour of deferrable constraints (e.g. Foreign Key, Unique) in a
transaction can be modified using the `SET CONSTRAINTS` sql syntax
(https://www.postgresql.org/docs/12/sql-set-constraints.html). Supporting
this directly in Django will allow extra control over when
`IntegrityError` is raised.
--
Ticket URL: <https://code.djangoproject.com/ticket/31440>
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/052.3b6b27730db504975c70aa385dfae8cf%40djangoproject.com.