title: can't display a value in the template
body: <p>I am having trouble displaying the value on the html template from the mysql database.</p>
  
  <p>my view: </p>
  
  <pre><code> from django.contrib.auth.decorators import login_required 
   from django.db.models import Count, Min, Sum, Avg, Max
   from .models import Gwtable
   import datetime
  
  def index(request):
      max_value =  Gwtable.objects.all().aggregate(Max('salesprice'))
          return render(request, 'sql/index.html', context)
  </code></pre>
  
  <p>my html:</p>
  
  
     <p> {{ max_value.values|floatformat:2 }}</p>