Skip to content

Commit 400e846

Browse files
committed
remove unused team list resources
1 parent 3b2f823 commit 400e846

File tree

2 files changed

+1
-39
lines changed

2 files changed

+1
-39
lines changed

bullet/bullet_admin/forms/documents.py

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
from competitions.models import Competition, Venue
1+
from competitions.models import Competition
22
from django import forms
33
from django.conf import settings
44
from django.core.exceptions import ValidationError
55
from documents.models import CertificateTemplate, TexTemplate
6-
from users.models import User
76

87

98
class CertificateForm(forms.Form):
@@ -50,14 +49,6 @@ def clean(self):
5049
return self.cleaned_data
5150

5251

53-
class TeamListForm(forms.Form):
54-
venue = forms.ModelChoiceField(queryset=Venue.objects.none())
55-
56-
def __init__(self, competition: Competition, user: User, **kwargs):
57-
super().__init__(**kwargs)
58-
self.fields["venue"].queryset = Venue.objects.for_user(competition, user)
59-
60-
6152
class TearoffForm(forms.Form):
6253
first_problem = forms.IntegerField(
6354
label="First problem",

bullet/bullet_admin/templates/bullet_admin/documents/team_list.html

Lines changed: 0 additions & 29 deletions
This file was deleted.

0 commit comments

Comments
 (0)