from django.urls import path, re_path from django.views.generic import RedirectView, TemplateView from . import views from . import api urlpatterns = [ #api taches path('api/get_list', api.user_get_list, name='gest_user_api_user_get_list'), re_path('api/get/(?P\d+)', api.user_get, name='gest_user_api_user_get'), re_path('api/get/to-email/(?P\d+)', api.user_get_for_send, name='gest_user_api_user_get_for_send'), re_path('api/app/edit/(?P\d+)', api.app_edit, name='gest_user_api_app_edit'), re_path('api/app/switch/(?P\d+)', api.switch_app_status, name='gest_user_api_switch_app_status'), re_path('api/edit/(?P\d+)', api.user_edit, name='gest_user_api_user_edit'), # client path('liste', views.index, name='gest_user_index'), re_path('app/edit/(?P\d+)', views.app_edit, name='gest_app_edit'), re_path('detail/(?P\d+)', views.user_get, name='gest_user_get'), re_path('edit/(?P\d+)', views.user_edit, name='gest_user_edit'), ]