Files
depot_django/preinfo/urls.py
T
gitea c1183c22ea switch from ownCloud to minIO
buttons in table are buttons and do edit and delete properly
2025-07-29 18:51:09 +03:00

19 lines
896 B
Python

from django.urls import path, include
from preinfo.views.client_views import (ClientPreinfoView, check_preinfo, PreinfoSearchView, ClientPreinfoCreateView,
ClientPreinfoUpdateView, ClientPreinfoDeleteView, )
from preinfo.views.employee_views import EmployeePreinfoView
urlpatterns = [
path('client/', include([
path('', ClientPreinfoView.as_view(), name='client_preinfo'),
path('create/', ClientPreinfoCreateView.as_view(), name='client_preinfo_create'),
path('<int:pk>/delete/', ClientPreinfoDeleteView.as_view(), name='client_preinfo_delete'),
])),
path('check-preinfo/', check_preinfo, name='check_preinfo'),
path('preinfo-search/', PreinfoSearchView.as_view(), name='preinfo_search'),
path('employee/', include([
path('', EmployeePreinfoView.as_view(), name='employee_preinfo'),
])
)
]