"""
Legacy user URLs from cookiecutter-django template.

UNUSED_ENDPOINT: All endpoints in this file are legacy views from the cookiecutter template
and are not used by the React frontend. The API uses /auth/ and /api/ endpoints instead.
"""
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"),  # UNUSED_ENDPOINT: Legacy template view
    path("~update/", view=user_update_view, name="update"),  # UNUSED_ENDPOINT: Legacy template view
    path("<str:username>/", view=user_detail_view, name="detail"),  # UNUSED_ENDPOINT: Legacy template view
]
