diff options
| author | Alex Morega <alex@grep.ro> | 2022-08-26 17:10:27 +0300 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2022-08-30 09:57:17 +0200 |
| commit | de6c9c70549010fc39509f9ef3f6a62ada870318 (patch) | |
| tree | fc0206ae8cd3fc3d7a78e76b6ae3e95f4e0505b1 /docs/ref/contrib/postgres | |
| parent | b3db6c8dcb5145f7d45eff517bcd96460475c879 (diff) | |
Refs #30947 -- Changed tuples to lists where appropriate.
Diffstat (limited to 'docs/ref/contrib/postgres')
| -rw-r--r-- | docs/ref/contrib/postgres/constraints.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/contrib/postgres/constraints.txt b/docs/ref/contrib/postgres/constraints.txt index 44f1f56db1..b8a744f2b4 100644 --- a/docs/ref/contrib/postgres/constraints.txt +++ b/docs/ref/contrib/postgres/constraints.txt @@ -248,10 +248,10 @@ current/rangetypes.html#RANGETYPES-INCLUSIVITY>`_. For example:: constraints = [ ExclusionConstraint( name='exclude_overlapping_reservations', - expressions=( + expressions=[ (TsTzRange('start', 'end', RangeBoundary()), RangeOperators.OVERLAPS), ('room', RangeOperators.EQUAL), - ), + ], condition=Q(cancelled=False), ), ] |
