Commit cfde3435647eb7a9353ee1051ff127bdaa08ce37
1 parent
3e807090
Exists in
master
and in
39 other branches
Fixing form name
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/accounts/views.py
@@ -66,7 +66,7 @@ def signup(request): | @@ -66,7 +66,7 @@ def signup(request): | ||
66 | return render(request, 'accounts/user_create_form.html', | 66 | return render(request, 'accounts/user_create_form.html', |
67 | {'user_form': user_form, 'lists_form': lists_form}) | 67 | {'user_form': user_form, 'lists_form': lists_form}) |
68 | 68 | ||
69 | - user_form = NewUserForm(request.POST) | 69 | + user_form = UserCreationForm(request.POST) |
70 | lists_form = ListsForm(request.POST) | 70 | lists_form = ListsForm(request.POST) |
71 | 71 | ||
72 | if not user_form.is_valid() or not lists_form.is_valid(): | 72 | if not user_form.is_valid() or not lists_form.is_valid(): |