Added smartphone as scanner option

This commit is contained in:
2022-05-24 17:53:31 +02:00
parent 9adcee728a
commit 0b285b068c
8 changed files with 263 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
from django.shortcuts import render
from django.views.generic import ListView
from django.views.generic import ListView, TemplateView
from .models import Scanner
@@ -12,3 +12,6 @@ def scanner(request, scanner_id):
return render(request, 'booker/scanner.html', {
'scanner_id': scanner_id
})
class SmartphoneScannerView(TemplateView):
template_name = 'booker/smartphone_scanner.html'