blob: f9e6ce189d3fa5694ef83666d85b06456bc02108 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
from django.contrib.auth.forms import AuthenticationForm
from django.contrib.auth.views import LoginView, LogoutView
from core.forms import FormHelper
class Login(LoginView):
class form_class(AuthenticationForm):
helper = FormHelper(submit_text="Login")
template_name = "auth/login.html"
class Logout(LogoutView):
pass
|