backend/batches/urls.py

14 lines
608 B
Python
Raw Normal View History

from django.urls import path
# from .views import ScanAPIView, ScanAspuAPIView, GetManagementAPIView
from .views import BatchListView, BatchListGTIN, BatchListReport, BatchReportView
urlpatterns = [
# path('api/scan/', ScanAPIView.as_view(), name='scan'),
# path('api/scan_aspu/', ScanAspuAPIView.as_view(), name='scan_aspu'),
path('batches/', BatchListView.as_view(), name='batch-list'),
path('gtin/', BatchListGTIN.as_view(), name='batch-gtin'),
path('reports/', BatchListReport.as_view(), name='batch-gtin'),
path('reports-view/', BatchReportView.as_view(), name='batch-gtin')
]