expalert/custom_auth/views.py
2023-12-04 16:09:40 +01:00

6 lines
227 B
Python

from django.contrib.auth.views import LoginView as DjangoLoginView, LogoutView
from django.urls import path
class LoginView(DjangoLoginView):
template_name = "custom_auth/login.html"
redirect_authenticated_user = True