mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-16 03:03:21 +00:00
18 lines
687 B
Python
18 lines
687 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'),
|
|
]
|
|
|