Add: url.py for apps.auth
This commit is contained in:
parent
4a47655531
commit
4af0881f65
1 changed files with 9 additions and 0 deletions
9
archivist/apps/authentication/urls.py
Normal file
9
archivist/apps/authentication/urls.py
Normal 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")
|
||||||
|
]
|
Loading…
Reference in a new issue