File diff 26682bc158d3 → fca73608c2ba
www/conservancy/frontpage.py
Show inline comments
...
 
@@ -13,7 +13,7 @@ def view(request):
 
    now = datetime.now()
 
    context = {
 
        'press_releases': PressRelease.objects.all().filter(pub_date__lte=now, sites=2)[:5],
 
        'supporters_count': len(Supporter.objects.all().filter(display_until_date__gte=now)),
 
        'supporters_count': Supporter.objects.all().filter(display_until_date__gte=now).count(),
 
        'blog': BlogEntry.objects.all().filter(pub_date__lte=now)[:5],
 
    }
 
    return render_template_with_context(request, "frontpage.html", context)