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

10 lines
300 B
Python
Raw Normal View History

2023-10-06 08:15:53 +00: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")
]