dashboard/accounts/urls.py

12 lines
393 B
Python
Raw Normal View History

2022-06-10 11:52:54 +00:00
from django.contrib import admin
from django.urls import path, include
from .views import login_view, public_view, logout_view, protected_view
urlpatterns = [
path("login/", login_view, name="accounts.login"),
path("logout/", login_view, name="accounts.logout"),
path("protected/", protected_view, name="accounts.protected"),
path("", public_view, name="accounts.public"),
2022-06-10 11:52:54 +00:00
]