do not filter out refunded games when adding session
This commit is contained in:
parent
1610b7d8a4
commit
4355953e42
|
@ -9,8 +9,11 @@ custom_datetime_widget = forms.DateTimeInput(
|
||||||
|
|
||||||
|
|
||||||
class SessionForm(forms.ModelForm):
|
class SessionForm(forms.ModelForm):
|
||||||
|
# purchase = forms.ModelChoiceField(
|
||||||
|
# queryset=Purchase.objects.filter(date_refunded=None).order_by("edition__name")
|
||||||
|
# )
|
||||||
purchase = forms.ModelChoiceField(
|
purchase = forms.ModelChoiceField(
|
||||||
queryset=Purchase.objects.filter(date_refunded=None).order_by("edition__name")
|
queryset=Purchase.objects.order_by("edition__name")
|
||||||
)
|
)
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
|
|
Loading…
Reference in New Issue