automated push from the terminal
This commit is contained in:
13
player/views.py
Normal file
13
player/views.py
Normal file
@@ -0,0 +1,13 @@
|
||||
from django.contrib.auth.forms import UserCreationForm
|
||||
|
||||
from django.urls import reverse_lazy
|
||||
|
||||
from django.views import generic
|
||||
|
||||
class RegisterView(generic.CreateView):
|
||||
|
||||
form_class = UserCreationForm
|
||||
|
||||
success_url = reverse_lazy("login")
|
||||
|
||||
template_name = "registration/register.html"
|
||||
Reference in New Issue
Block a user