mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Refs #30947 -- Changed tuples to lists where appropriate.
This commit is contained in:
committed by
Mariusz Felisiak
parent
b3db6c8dcb
commit
de6c9c7054
@@ -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),
|
||||
),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user