phase2: add modular apps, auth scaffolding, and base template routing
This commit is contained in:
12
apps/users/urls.py
Normal file
12
apps/users/urls.py
Normal file
@ -0,0 +1,12 @@
|
||||
from django.urls import path
|
||||
|
||||
from .views import ProfileView, SignupView, UserLoginView, UserLogoutView
|
||||
|
||||
app_name = "users"
|
||||
|
||||
urlpatterns = [
|
||||
path("signup/", SignupView.as_view(), name="signup"),
|
||||
path("login/", UserLoginView.as_view(), name="login"),
|
||||
path("logout/", UserLogoutView.as_view(), name="logout"),
|
||||
path("profile/", ProfileView.as_view(), name="profile"),
|
||||
]
|
||||
Reference in New Issue
Block a user