gestioCOF/kfet/urls.py
Aurélien Delobelle 43d938edd0 initial
2016-08-02 10:40:46 +02:00

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'),
]