from django.urls import path

from marketplace.users.views import user_detail_view
from marketplace.users.views import user_redirect_view
from marketplace.users.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("<str:username>/", view=user_detail_view, name="detail"),
]

from django.urls import path

from marketplace.users.views import user_detail_view
from marketplace.users.views import user_redirect_view
from marketplace.users.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("<str:username>/", view=user_detail_view, name="detail"),
]
