Django automatic login after user registration (2.1.4)

Published: 14/01/2019
Django automatic login after user registration (2.1.4)
Source: STACKOVERFLOW.COM

The automatic login of newly registered users is not working in the case of a "class-based" registration view. I followed the example from this tutorial , which proposes the following registration view: # myapp/views.py from django.contrib.auth.forms import UserCreationForm from django.urls import reverse_lazy from django.views import generic class SignUp(generic.CreateView): form_class = UserCr

Read more
Related news
Comment
FACEBOOK