text: from django.shortcuts import render
  from django.http import HttpResponse
  from .models import Price, Source
  
  def show_prices(request):
      prices = []
      for s in Source.objects.filter(enabled = True).order_by('weight'):
          prices.append(s.price_set.latest('date'))
      context = {
              'prices': prices,
              }
      return render(request, 'pricesapp/index.html', context)
  