JourneyJoker/profiles/urls.py

11 lines
311 B
Python

from django.urls import path
from profiles.views import RegistrationView, LoginView, user_logout
app_name = "profiles"
urlpatterns = [
path('register/', RegistrationView.as_view(), name="register"),
path('login/', LoginView.as_view(), name="login"),
path('logout/', user_logout, name="logout")
]