2016-06-30 18:18:06 +00:00
|
|
|
from django.conf.urls import url
|
|
|
|
|
|
|
|
from . import views
|
|
|
|
|
|
|
|
urlpatterns = [
|
2016-07-02 00:07:50 +00:00
|
|
|
url(r'^new_user/$', views.new_user, name='new-user'),
|
|
|
|
url(r'^edit_info/(?P<userid>[0-9]+)$', views.edit_info, name='edit-info'),
|
|
|
|
url(r'^state/(?P<userid>[0-9]+)$', views.state, name='state'),
|
|
|
|
url(r'^password/(?P<userid>[0-9]+)$', views.password, name='password'),
|
2016-07-02 20:31:50 +00:00
|
|
|
url(r'^add_ban/(?P<userid>[0-9]+)$', views.add_ban, name='add-ban'),
|
|
|
|
url(r'^edit_ban/(?P<banid>[0-9]+)$', views.edit_ban, name='edit-ban'),
|
2016-07-04 18:04:11 +00:00
|
|
|
url(r'^add_whitelist/(?P<userid>[0-9]+)$', views.add_whitelist, name='add-whitelist'),
|
|
|
|
url(r'^edit_whitelist/(?P<whitelistid>[0-9]+)$', views.edit_whitelist, name='edit-whitelist'),
|
2016-07-04 20:37:04 +00:00
|
|
|
url(r'^add_right/(?P<userid>[0-9]+)$', views.add_right, name='add-right'),
|
2016-07-02 02:40:24 +00:00
|
|
|
url(r'^del_right/$', views.del_right, name='del-right'),
|
2016-07-06 17:45:36 +00:00
|
|
|
url(r'^add_school/$', views.add_school, name='add-school'),
|
2016-07-08 00:25:12 +00:00
|
|
|
url(r'^edit_school/(?P<schoolid>[0-9]+)$', views.edit_school, name='edit-school'),
|
2016-07-06 17:45:36 +00:00
|
|
|
url(r'^del_school/$', views.del_school, name='del-school'),
|
2016-07-05 17:34:57 +00:00
|
|
|
url(r'^profil/(?P<userid>[0-9]+)$', views.profil, name='profil'),
|
|
|
|
url(r'^index_ban/$', views.index_ban, name='index-ban'),
|
|
|
|
url(r'^index_white/$', views.index_white, name='index-white'),
|
2016-07-08 00:25:12 +00:00
|
|
|
url(r'^index_school/$', views.index_school, name='index-school'),
|
2016-07-10 02:02:48 +00:00
|
|
|
url(r'^mon_profil/$', views.mon_profil, name='mon-profil'),
|
2016-07-20 01:53:46 +00:00
|
|
|
url(r'^process/(?P<token>[a-z0-9]{32})/$', views.process, name='process'),
|
2016-07-02 00:07:50 +00:00
|
|
|
url(r'^$', views.index, name='index'),
|
2016-06-30 18:18:06 +00:00
|
|
|
]
|
|
|
|
|
2016-07-01 20:47:08 +00:00
|
|
|
|