1256d0f52b
Closes #88
24 lines
430 B
Python
24 lines
430 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'
|
|
),
|
|
]
|