Added smartphone as scanner option
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user