mirror of
https://github.com/leaders-of-digital-9-task/backend.git
synced 2024-11-25 18:53:45 +03:00
15 lines
372 B
Python
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"),
|
|
]
|