removed Play from forms.py
This commit is contained in:
parent
558123e623
commit
64a1d18d9b
|
@ -24,12 +24,6 @@ class PopupGroupForm(PopupForm):
|
||||||
model = TheatreGroup
|
model = TheatreGroup
|
||||||
fields = ('name', 'email',)
|
fields = ('name', 'email',)
|
||||||
|
|
||||||
class PopupPlayForm(PopupForm):
|
|
||||||
|
|
||||||
class Meta:
|
|
||||||
model = Play
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class PopupProductionForm(PopupForm):
|
class PopupProductionForm(PopupForm):
|
||||||
group = forms.ModelChoiceField(TheatreGroup.objects.all(), widget=AutocompleteAddWidget(model_class=TheatreGroup))
|
group = forms.ModelChoiceField(TheatreGroup.objects.all(), widget=AutocompleteAddWidget(model_class=TheatreGroup))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user