21 lines
897 B
Python
21 lines
897 B
Python
from django.conf.urls import url
|
|
from kfet import views
|
|
from kfet import autocomplete
|
|
|
|
urlpatterns = [
|
|
url(r'^$', views.home),
|
|
# Administration
|
|
url(r'^admin/account/new$', views.account_new,
|
|
name = 'kfet.admin.account.new'),
|
|
url(r'^admin/account/new/user/(?P<username>.+)$', views.account_new_ajax,
|
|
name = 'kfet.admin.account.new.fromuser'),
|
|
url(r'^admin/account/new/clipper/(?P<login_clipper>.+)$', views.account_new_ajax,
|
|
name = 'kfet.admin.account.new.fromclipper'),
|
|
url(r'^admin/account/new/empty$', views.account_new_ajax,
|
|
name = 'kfet.admin.account.new.empty'),
|
|
url(r'^admin/account/is_free$', views.account_is_free_ajax,
|
|
name = 'kfet.admin.account.is_free.ajax'),
|
|
# Autocomplete - Nouveau compte
|
|
url(r'^autocomplete/account_new$', autocomplete.account_new,
|
|
name = 'kfet.admin.account.new.autocomplete'),
|
|
]
|