mirror of
https://framagit.org/la-chariotte/la-chariotte.git
synced 2025-05-02 03:42:26 +02:00
11 lines
337 B
Python
11 lines
337 B
Python
from django.contrib.auth.views import LoginView
|
|
from django.urls import reverse_lazy
|
|
from django.views import generic
|
|
|
|
from .forms import CustomUserCreationForm
|
|
|
|
|
|
class SignUpView(generic.CreateView):
|
|
form_class = CustomUserCreationForm
|
|
success_url = reverse_lazy("accounts:login")
|
|
template_name = "registration/signup.html"
|