from django.shortcuts import render from .models import LockerBank, LockerRental def lockerIndex(request): context = { "locker_banks": LockerBank.objects.all(), } return render(request, "rentals/lockers.dj.html", context)