mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
Refs #30947 -- Changed tuples to lists where appropriate.
This commit is contained in:
parent
b3db6c8dcb
commit
de6c9c7054
16 changed files with 142 additions and 142 deletions
|
@ -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),
|
||||
),
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue