summaryrefslogtreecommitdiff
path: root/tests/constraints/models.py
AgeCommit message (Collapse)Author
2019-01-12Fixed #30062 -- Added support for unique conditional constraints.Paveł Tyślacki
2018-11-13Fixed #29641 -- Added support for unique constraints in Meta.constraints.Simon Charette
This constraint is similar to Meta.unique_together but also allows specifying a name. Co-authored-by: Ian Foote <python@ian.feete.org>
2018-10-02Refs #11964 -- Changed CheckConstraint() signature to use keyword-only ↵Simon Charette
arguments. Also renamed the `constraint` argument to `check` to better represent which part of the constraint the provided `Q` object represents.
2018-07-10Fixed #11964 -- Added support for database check constraints.Ian Foote