update template using new desk model

This commit is contained in:
2017-02-10 19:39:21 +01:00
parent 7b76fdc62c
commit 55cdfc0509
7 changed files with 107 additions and 64 deletions

View File

@@ -55,7 +55,7 @@ def index(request):
locations = Location.objects.filter(users__id=request.user.id).order_by('code')
clients = Client.objects.filter(location_id=loc).order_by('id')
context = {
'range': range(1, 3),
'range': range(1, 9),
'locations': locations,
'clients': clients,
'location_id': int(loc),