forked from CGM_Public/pretix_original
Variations on pretixpresale's initial ticket layout
This commit is contained in:
@@ -181,7 +181,7 @@ In our example, the implementation could look like this::
|
||||
# Only take this restriction into consideration if it
|
||||
# is directly applied to this variation or if the item
|
||||
# has no variations
|
||||
if len(v) != 0 and ('variation' not in v or v['variation'] not in applied_to):
|
||||
if not v.empty() and ('variation' not in v or v['variation'] not in applied_to):
|
||||
continue
|
||||
|
||||
if restriction.timeframe_from <= now() <= restriction.timeframe_to:
|
||||
|
||||
Reference in New Issue
Block a user