2017-10-08 20:21:51 +00:00
|
|
|
from django.conf.urls import url
|
|
|
|
|
|
|
|
from . import views
|
|
|
|
|
|
|
|
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'
|
|
|
|
),
|
|
|
|
]
|