Commit cfde3435647eb7a9353ee1051ff127bdaa08ce37

Authored by Sergio Oliveira
1 parent 3e807090

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 66 return render(request, 'accounts/user_create_form.html',
67 67 {'user_form': user_form, 'lists_form': lists_form})
68 68  
69   - user_form = NewUserForm(request.POST)
  69 + user_form = UserCreationForm(request.POST)
70 70 lists_form = ListsForm(request.POST)
71 71  
72 72 if not user_form.is_valid() or not lists_form.is_valid():
... ...