Add: url.py for apps.auth

This commit is contained in:
Aroy-Art 2023-10-06 10:15:53 +02:00
parent 4a47655531
commit 4af0881f65
Signed by: Aroy
GPG key ID: 583642324A1D2070

View file

@ -0,0 +1,9 @@
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")
]