16 lines
535 B
Python
16 lines
535 B
Python
from django.contrib import admin
|
|
from django.urls import path
|
|
from slips.api import api
|
|
from slips import views
|
|
|
|
urlpatterns = [
|
|
path('admin/', admin.site.urls),
|
|
path('api/', api.urls),
|
|
path('', views.index, name='index'),
|
|
path('entry/', views.entry, name='entry'),
|
|
path('products/', views.products, name='products'),
|
|
path('print/', views.print_queue, name='print_queue'),
|
|
path('print-page/<int:order_id>/', views.print_page, name='print_page'),
|
|
path('calibrate/', views.calibrate, name='calibrate'),
|
|
]
|