From 71cae7f5ca9a2b370afaa3a66cc979d73922e6ac Mon Sep 17 00:00:00 2001 From: Ludovic Stephan Date: Mon, 7 Jan 2019 22:50:30 +0100 Subject: [PATCH] Remove dead code --- bda/forms.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/bda/forms.py b/bda/forms.py index b370f3ae..bb79932e 100644 --- a/bda/forms.py +++ b/bda/forms.py @@ -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):