1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-20 17:41:55 +02:00

🐛 Fix signup

This commit is contained in:
Yohann D'ANELLO
2020-08-05 16:26:44 +02:00
parent af857d6fae
commit 21f1347a60
2 changed files with 2 additions and 1 deletions

View File

@ -39,7 +39,7 @@ class UserCreateView(CreateView):
def get_context_data(self, **kwargs):
context = super().get_context_data(**kwargs)
context["profile_form"] = self.second_form()
context["profile_form"] = self.second_form(self.request.POST)
del context["profile_form"].fields["section"]
return context