10 Commits

Author SHA1 Message Date
Mariusz Felisiak
0088e59292 [2.2.x] Refs #30547 -- Clarified that partial UniqueConstraints don't affect model validation.
Backport of 230d75f59c43b9731465c4ec92ad714e301637b8 from master
2019-07-18 12:56:52 +02:00
Claude Paroz
3b2701e4f2 [2.2.x] Removed unneeded non-breaking spaces added in 00169bc36
Backport of 8590726a5dd3087d40b549580703cd8c74f3d7b1 from master.
2019-06-22 10:28:26 +02:00
Swat009
c3a0f76d11 [2.2.x] Fixed #30547 -- Doc'd how Meta.constraints affect model validation.
Backport of 00169bc36156d4a32546229bf39de91213709eaf from master
2019-06-20 10:45:20 +02:00
GwynBleidD
83605a17f0 [2.2.x] Refs #30062 -- Corrected UniqueConstraint signature in docs.
Backport of 5402061c80aa2ede08a7c6b3ff204646c5059cf7 from master
2019-05-20 10:54:19 +02:00
Mariusz Felisiak
f24cf51661 [2.2.x] Fixed #30362 -- Noted partial indexes and constraints restrictions with abstract base classes.
Thanks Carlton Gibson for the review.

Backport of 5df3301aab9e1d1c386799263bef5cf013985c83 from master
2019-04-25 07:37:34 +02:00
Mariusz Felisiak
158cfebe87 [2.2.x] Fixed UniqueConstraint example in ref/models/constraints.txt.
Backport of f8f0f92ed9f73a025de599bd1a4965f2cc2ebbba from master
2019-04-25 07:37:21 +02:00
Paveł Tyślacki
b69f8eb04c Fixed #30062 -- Added support for unique conditional constraints. 2019-01-12 09:50:20 -05:00
Tim Graham
cf1fe22009 Fixed typos in docs/ref/models/constraints.txt. 2019-01-10 18:52:42 -05:00
Simon Charette
db13bca60a Fixed #29641 -- Added support for unique constraints in Meta.constraints.
This constraint is similar to Meta.unique_together but also allows
specifying a name.

Co-authored-by: Ian Foote <python@ian.feete.org>
2018-11-13 17:57:27 -05:00
Simon Charette
8eae094638 Generalized check constraint docs for other constraints. 2018-11-13 17:57:27 -05:00