Changes between Initial Version and Version 3 of Ticket #32703
- Timestamp:
- May 1, 2021, 3:59:11 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #32703
- Property Cc added
- Property Needs documentation set
-
Ticket #32703 – Description
initial v3 1 1 When using a deferred UniqueConstraint, we are expecting validation not to occur before transaction commit. 2 Considering a model with a field `unique_valued_field` with a deferred UniqueConstraint and two models `m1` and `m2`, we should be able to do:2 Considering a model with a field `unique_valued_field` with a deferred UniqueConstraint and two instances `m1` and `m2`, we should be able to do: 3 3 {{{#!python 4 4 with transaction.atomic():