do not filter out refunded games when adding session
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
ffa8198540
commit
cdb3b89b08
|
@ -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