From e80163ce4d4438b90176759ff700b0263556e0d1 Mon Sep 17 00:00:00 2001 From: Pierre-antoine Comby Date: Mon, 3 Feb 2020 19:24:23 +0100 Subject: [PATCH] fix signup --- apps/member/views.py | 2 +- templates/member/signup.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/member/views.py b/apps/member/views.py index 9048080e..04735c64 100644 --- a/apps/member/views.py +++ b/apps/member/views.py @@ -36,7 +36,7 @@ class UserCreateView(CreateView): def get_context_data(self,**kwargs): context = super().get_context_data(**kwargs) - context["user_form"] = self.second_form + context["profile_form"] = self.second_form() return context diff --git a/templates/member/signup.html b/templates/member/signup.html index d95d86f6..4e6f79bc 100644 --- a/templates/member/signup.html +++ b/templates/member/signup.html @@ -9,7 +9,7 @@
{% csrf_token %} {{ form|crispy }} - {{ user_form|crispy }} + {{ profile_form|crispy }}