forked from CGM_Public/pretix_original
Check-in list editor: Allow to delete last rule
This commit is contained in:
@@ -128,7 +128,7 @@ class CheckinListForm(forms.ModelForm):
|
||||
|
||||
def clean(self):
|
||||
d = super().clean()
|
||||
CheckinList.validate_rules(d.get('rules'))
|
||||
d['rules'] = CheckinList.validate_rules(d.get('rules'))
|
||||
return d
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user