Gallery-Archivist/archivist/apps/authentication/urls.py

10 lines
300 B
Python
Raw Normal View History

2023-10-06 10:15:53 +02:00
from django.urls import path
from .views import login_view, register_user
from django.contrib.auth.views import LogoutView
urlpatterns = [
path('login/', login_view, name="login"),
path('register/', register_user, name="register"),
path("logout/", LogoutView.as_view(), name="logout")
]