diff options
Diffstat (limited to 'alphabetlearning/users/urls.py')
-rw-r--r-- | alphabetlearning/users/urls.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/alphabetlearning/users/urls.py b/alphabetlearning/users/urls.py new file mode 100644 index 0000000..56c246c --- /dev/null +++ b/alphabetlearning/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"), +] |