mirror of
https://github.com/etnguyen03/tjdests.git
synced 2025-04-21 02:00:16 -04:00
style(authentication): reformat 0b4f03af36
This commit is contained in:
parent
6aa704164c
commit
e96f722339
|
@ -7,7 +7,11 @@ app_name = "authentication"
|
|||
|
||||
urlpatterns = [
|
||||
path("", views.IndexView.as_view(), name="index"),
|
||||
path("login", auth_views.LoginView.as_view(template_name="authentication/login.html"), name="login"),
|
||||
path(
|
||||
"login",
|
||||
auth_views.LoginView.as_view(template_name="authentication/login.html"),
|
||||
name="login",
|
||||
),
|
||||
path("logout", auth_views.LogoutView.as_view(), name="logout"),
|
||||
path("tos", views.accept_tos_view, name="tos"),
|
||||
]
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
from django.contrib import messages
|
||||
from django.contrib.auth import login, logout
|
||||
from django.contrib.auth.decorators import login_required
|
||||
from django.contrib.auth.views import LoginView
|
||||
from django.http import HttpRequest, HttpResponse
|
||||
from django.shortcuts import redirect, render
|
||||
from django.urls import reverse
|
||||
|
|
Loading…
Reference in New Issue
Block a user