mirror of
https://github.com/pretix/pretix.git
synced 2026-05-07 15:34:02 +00:00
Allow to define ticket validity through a product (#3105)
This commit is contained in:
@@ -61,6 +61,7 @@ class BadgeLayoutChoiceField(forms.ModelChoiceField):
|
||||
|
||||
|
||||
class BadgeItemForm(forms.ModelForm):
|
||||
is_layouts = True
|
||||
layout = BadgeLayoutChoiceField(queryset=BadgeLayout.objects.none())
|
||||
|
||||
class Meta:
|
||||
|
||||
Reference in New Issue
Block a user