Sith/core/urls.py

15 lines
478 B
Python
Raw Normal View History

2015-11-18 08:44:06 +00:00
from django.conf.urls import url
from . import views
urlpatterns = [
2015-11-18 16:09:06 +00:00
url(r'^$', views.index, name='index'),
2015-11-18 08:44:06 +00:00
url(r'^login$', views.login, name='login'),
2015-11-18 16:09:06 +00:00
url(r'^logout$', views.logout, name='logout'),
2015-11-18 08:44:06 +00:00
url(r'^register$', views.register, name='register'),
2015-11-19 08:46:05 +00:00
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'),
2015-11-18 08:44:06 +00:00
]