21 lines
406 B
Python
21 lines
406 B
Python
from django.conf.urls import url
|
|
|
|
from . import views
|
|
|
|
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'
|
|
),
|
|
] |