Files
MES_Core/shiftflow/urls.py
ackFromRedmi ff0b791a24
All checks were successful
Deploy MES Core / deploy (push) Successful in 10s
Доработали генерацию сменных заданий
2026-03-29 23:19:13 +03:00

18 lines
547 B
Python

from django.urls import path
from .views import (
IndexView,
ItemUpdateView,
RegistryView,
RegistryPrintView,
)
urlpatterns = [
# Главная страница (путь пустой)
path('', IndexView.as_view(), name='index'),
# Реестр
path('registry/', RegistryView.as_view(), name='registry'),
# Печать сменного листа
path('registry/print/', RegistryPrintView.as_view(), name='registry_print'),
path('item/<int:pk>/', ItemUpdateView.as_view(), name='item_detail'),
]