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-03 16:09:58 +00:00
|
|
|
url(r'^profil/$', views.profil, name='profil'),
|
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
|
|
|
|