mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2025-06-22 00:38:23 +02:00
Add comments and linting
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
@ -8,7 +8,7 @@ from typing import Iterable
|
||||
|
||||
from crispy_forms.bootstrap import InlineField
|
||||
from crispy_forms.helper import FormHelper
|
||||
from crispy_forms.layout import Submit, Fieldset, Layout, Div
|
||||
from crispy_forms.layout import Div, Fieldset, Submit
|
||||
from django import forms
|
||||
from django.contrib.auth.models import User
|
||||
from django.core.exceptions import ValidationError
|
||||
@ -200,6 +200,7 @@ class PoolTeamsForm(forms.ModelForm):
|
||||
}),
|
||||
}
|
||||
|
||||
|
||||
class AddJuryForm(forms.ModelForm):
|
||||
def __init__(self, *args, **kwargs):
|
||||
super().__init__(*args, **kwargs)
|
||||
@ -242,7 +243,6 @@ class AddJuryForm(forms.ModelForm):
|
||||
fields = ('first_name', 'last_name', 'email',)
|
||||
|
||||
|
||||
|
||||
class UploadNotesForm(forms.Form):
|
||||
file = forms.FileField(
|
||||
label=_("CSV file:"),
|
||||
|
Reference in New Issue
Block a user