From adc6c639a0b53c73b24b5e635ae232d5761f7490 Mon Sep 17 00:00:00 2001 From: Johan Van de Wauw Date: Sun, 22 Dec 2024 23:46:00 +0100 Subject: [PATCH] Remove unused forms Editing is done through admin interface --- volunteers/forms.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/volunteers/forms.py b/volunteers/forms.py index e9a3259..c1c5969 100644 --- a/volunteers/forms.py +++ b/volunteers/forms.py @@ -14,19 +14,6 @@ from volunteers.models import VolunteerTask, TaskCategory -class AddTasksForm(forms.Form): - tasks = forms.ModelMultipleChoiceField(queryset=VolunteerTask.objects.none(), widget=forms.CheckboxSelectMultiple()) - - -class EditTasksForm(forms.Form): - date = forms.TimeField(label=_('Date'), required=True) - start_time = forms.TimeField(label=_('Start time'), required=True) - end_time = forms.TimeField(label=_('End time'), required=True) - name = forms.CharField(label=_('Name'), max_length=30, required=True) - location = forms.CharField(label=_('Location'), max_length=30, required=True) - description = forms.CharField(label=_('Description'), max_length=30, required=False, widget=forms.Textarea) - fosdem_url = forms.CharField(label=_('Fosdem URL'), max_length=100, required=False, widget=forms.Textarea) - class EventSignupForm(forms.Form): first_name = forms.CharField(max_length=255, required=True, label=_('First name'))