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('/', views.scanner, name='scanner') ]