Remove dead code

This commit is contained in:
Ludovic Stephan 2019-01-07 22:50:30 +01:00
parent 445745ee15
commit 71cae7f5ca

View file

@ -113,7 +113,6 @@ class SoldForm(forms.Form):
def __init__(self, participant, *args, **kwargs):
super().__init__(*args, **kwargs)
self.fields["reventes"] = TemplateLabelField(
label="",
queryset=participant.original_shows.filter(soldTo__isnull=False)
.exclude(soldTo=participant)
.select_related(
@ -161,10 +160,6 @@ class ReventeTirageAnnulForm(forms.Form):
context_object_name="revente",
)
participant.entered.filter(soldTo__isnull=True).select_related(
"attribution__spectacle", "seller__user"
)
class ReventeTirageForm(forms.Form):
def __init__(self, participant, *args, **kwargs):