aboutsummaryrefslogtreecommitdiffstats
path: root/pyblackbird_cc/users/urls.py
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-05-13 17:26:25 +0100
committerMatthew Lemon <y@yulqen.org>2024-05-13 17:26:25 +0100
commitefbbd480ddc62e695123d31c31d233b0df5155bd (patch)
treebc2fb465edd5050d83c97f280b1aac8e023fe3e5 /pyblackbird_cc/users/urls.py
After first pre-commit processing
Diffstat (limited to 'pyblackbird_cc/users/urls.py')
-rw-r--r--pyblackbird_cc/users/urls.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/pyblackbird_cc/users/urls.py b/pyblackbird_cc/users/urls.py
new file mode 100644
index 0000000..56c246c
--- /dev/null
+++ b/pyblackbird_cc/users/urls.py
@@ -0,0 +1,12 @@
+from django.urls import path
+
+from .views import user_detail_view
+from .views import user_redirect_view
+from .views import user_update_view
+
+app_name = "users"
+urlpatterns = [
+ path("~redirect/", view=user_redirect_view, name="redirect"),
+ path("~update/", view=user_update_view, name="update"),
+ path("<int:pk>/", view=user_detail_view, name="detail"),
+]