f56b088643
Base Image Build / prepare (push) Has been cancelled
Build and Push Multi-Arch Docker Image / build-and-push (push) Has been cancelled
Frontend Tests / test (push) Has been cancelled
Base Image Build / docker (amd64, ubuntu-24.04) (push) Has been cancelled
Base Image Build / docker (arm64, ubuntu-24.04-arm) (push) Has been cancelled
Base Image Build / create-manifest (push) Has been cancelled
13 lines
468 B
Python
13 lines
468 B
Python
from django.urls import path
|
|
from django.contrib.auth import views as auth_views
|
|
|
|
app_name = 'accounts'
|
|
|
|
urlpatterns = [
|
|
# Login view using Django's built-in authentication
|
|
path('login/', auth_views.LoginView.as_view(template_name='login.html'), name='login'),
|
|
# Logout view using Django's built-in authentication
|
|
path('logout/', auth_views.LogoutView.as_view(next_page='accounts:login'), name='logout'),
|
|
# Onetime use superuser account creation
|
|
]
|