mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-18 12:13:24 +00:00
19 lines
773 B
Python
19 lines
773 B
Python
from django.conf.urls import url
|
|
|
|
from . import views
|
|
|
|
urlpatterns = [
|
|
url(r'^$', views.index, name='index'),
|
|
url(r'^login$', views.login, name='login'),
|
|
url(r'^logout$', views.logout, name='logout'),
|
|
url(r'^register$', views.register, name='register'),
|
|
url(r'^user/$', views.user, name='user_list'),
|
|
url(r'^user/(?P<user_id>[0-9]+)/$', views.user, name='user_profile'),
|
|
url(r'^user/(?P<user_id>[0-9]+)/edit$', views.user_edit, name='user_edit'),
|
|
url(r'^page/$', views.page, name='page_list'),
|
|
url(r'^page/(?P<page_name>[a-z0-9/]*)/$', views.page, name='page'),
|
|
url(r'^page/(?P<page_name>[a-z0-9/]*)/edit$', views.page_edit, name='page_edit'),
|
|
url(r'^page/(?P<page_name>[a-z0-9/]*)/prop$', views.page_prop, name='page_prop'),
|
|
]
|
|
|