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