from django.urls import path, include from .views import * urlpatterns = [ # главная path('', index, name='mainpage'), path('accounts/', include('django.contrib.auth.urls')), # добавил для отработки функций авторизаций # сотрудники # path('employee/', employee, name='employee'), # договоры path('contracts/', contracts_page, name='contracts'), path('contract/', get_contract, name='contract'), # студенты path('students/', students_page, name='students'), path('student/', get_student, name='student'), # заказчики path('customer/', get_customer, name='customer'), # приказы path('orders/', orders_page, name='orders'), path('get_order/', get_order, name='get_order'), # Пропуска path('access/', access_page, name='access'), path('get_acces/', get_acces, name = 'get_acces'), path('gen_access/', gen_acces, name = 'gen_acces'), # Анне path('for_registry/', for_registry, name='for_registry'), path('gen_for_registry/', gen_for_registry, name='gen_for_registry'), # протоколы path('get_protocol/', get_protocol, name='get_protocol'), # Выписка path('extract/', get_extract, name='extract'), # группы path('groups/', groups_page, name='groups'), path('group/', get_group, name='group'), path('gen_list_students/', gen_list_students, name='gen_list_students'), path('gen_list_sdo/', gen_list_sdo, name='gen_list_sdo'), # справки path('sertificates/', sertificates_page, name='sertificates'), path('sertificate/', get_sertificates, name='sertificate'), # темы ВКР path('graduation_works/', graduation_works, name='graduation_works'), # страницы печати документов path('print_extract/', print_extract, name='print_extract'), path('print_contract/', print_contract, name='print_contract'), path('print_order/', print_order, name='order'), path('print_sertificate/', print_sertificate, name='print_sertificate'), path('gen_extract/', gen_extract, name='gen_extract'), path('gen_order/', gen_order, name='gen_order'), path('gen_protocol/', gen_protocol, name='gen_protocol'), path('gen_protocols/', gen_protocols, name='gen_protocols'), path('gen_group_list/', gen_group_list, name='gen_group_list'), path('gen_diploma_supplement/', gen_diploma_supplement, name='gen_diploma_supplement'), path('gen_diploma_form/', gen_diplma_form, name='gen_diploma_form'), ]