1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-07-05 07:14:11 +02:00

Send solutions

This commit is contained in:
Yohann D'ANELLO
2020-05-04 23:37:21 +02:00
parent 9499e10524
commit 26eacad2fd
9 changed files with 118 additions and 21 deletions

View File

@ -10,7 +10,6 @@ class SignUpForm(UserCreationForm):
super().__init__(*args, **kwargs)
self.fields["first_name"].required = True
self.fields["last_name"].required = True
print(self.fields["role"].choices)
self.fields["role"].choices = [
('', _("Choose a role...")),
('participant', _("Participant")),