ojuso-map/apps/profiles/urls.py

24 lines
430 B
Python
Raw Normal View History

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'
),
]