mirror of
https://github.com/pretix/pretix.git
synced 2026-05-03 14:54:04 +00:00
API: Allow to filter events by testmode attribute
This commit is contained in:
@@ -72,7 +72,7 @@ with scopes_disabled():
|
||||
|
||||
class Meta:
|
||||
model = Event
|
||||
fields = ['is_public', 'live', 'has_subevents']
|
||||
fields = ['is_public', 'live', 'has_subevents', 'testmode']
|
||||
|
||||
def ends_after_qs(self, queryset, name, value):
|
||||
expr = (
|
||||
|
||||
Reference in New Issue
Block a user