from django.shortcuts import render from .models import GoogleLensModel def googlelens_view(request): googlelens_models = GoogleLensModel.objects.all() return render(request, 'base.html', {'googlelens_models': googlelens_models})