9 lines
301 B
Python
9 lines
301 B
Python
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"),
|
|
]
|