2017-10-08 20:21:51 +00:00
|
|
|
from django.conf.urls import url
|
|
|
|
|
|
|
|
from . import views
|
|
|
|
|
2018-10-01 19:19:21 +00:00
|
|
|
app_name = 'profiles'
|
|
|
|
|
2017-10-08 20:21:51 +00:00
|
|
|
urlpatterns = [
|
2017-10-31 14:57:26 +00:00
|
|
|
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'
|
|
|
|
),
|
2018-10-01 19:19:21 +00:00
|
|
|
]
|