12 lines
340 B
Python
12 lines
340 B
Python
from django.conf.urls import url
|
|
|
|
from . import views
|
|
|
|
app_name = "profiles"
|
|
|
|
urlpatterns = [
|
|
url(regex=r"^~redirect/$", view=views.UserRedirectView.as_view(), name="redirect"),
|
|
url(regex=r"^$", view=views.UserDetailView.as_view(), name="detail"),
|
|
url(regex=r"^~update/$", view=views.UserUpdateView.as_view(), name="update"),
|
|
]
|