from django.conf.urls import url from kfet import views from kfet import autocomplete urlpatterns = [ url(r'^$', views.home, name = 'kfet.home'), # ----- # Account views # ----- # General url(r'^account/$', views.account), url(r'^account/is_validandfree$', views.account_is_validandfree_ajax, name = 'kfet.account.is_validandfree.ajax'), # Account - Create url(r'^account/new$', views.account_create, name = 'kfet.account.create'), url(r'^account/new/user/(?P.+)$', views.account_create_ajax, name = 'kfet.account.create.fromuser'), url(r'^account/new/clipper/(?P.+)$', views.account_create_ajax, name = 'kfet.account.create.fromclipper'), url(r'^account/new/empty$', views.account_create_ajax, name = 'kfet.account.create.empty'), url(r'^autocomplete/account_new$', autocomplete.account_create, name = 'kfet.account.create.autocomplete'), # Account - Read url(r'^account/(?P.{3})$', views.account_read, name = 'kfet.account.read'), # Account - Update url(r'^account/(?P.{3})/edit$', views.account_update, name = 'kfet.account.update') ]