backend/image_markuper/users/urls.py
Alexander-D-Karpov 8d9d0697da inited django
2022-10-25 23:29:13 +03:00

15 lines
372 B
Python

from django.urls import path
from image_markuper.users.views import (
user_detail_view,
user_redirect_view,
user_update_view,
)
app_name = "users"
urlpatterns = [
path("~redirect/", view=user_redirect_view, name="redirect"),
path("~update/", view=user_update_view, name="update"),
path("<str:username>/", view=user_detail_view, name="detail"),
]