homelog/booker/urls.py

11 lines
304 B
Python

from django.urls import path
from . import views
app_name = 'booker'
urlpatterns = [
path('', views.IndexView.as_view(), name='index'),
path('smartphone_scanner/', views.SmartphoneScannerView.as_view(), name='smartphone_scanner'),
path('<str:scanner_id>/', views.scanner, name='scanner')
]