def METHOD_NAME(request, template_name="social_services/relief-areas.html"):
    lon = request.GET.get('lon', None)
    lat = request.GET.get('lat', None)
    d = request.GET.get('d', 20)
    relief_areas = ReliefAssessment.objects.all()
    if lon and lat:
        point = fromstr('POINT(%s %s)' % (lon, lat), srid=4326)
        # Filter all relief areas within 20 miles of location given
        relief_areas = relief_areas.filter(loc__distance_lte=(point, D(mi=int(d))))
    stats = [relief_areas.filter(ssa=True).count(),
             relief_areas.filter(dhs=True).count(),
             relief_areas.filter(children_needs=True).count(),
             relief_areas.filter(toiletries=True).count(),
             relief_areas.filter(employment=True).count(),
             relief_areas.filter(training=True).count(),
             relief_areas.filter(food=True).count(),
             relief_areas.filter(gas=True).count(),
             relief_areas.filter(prescription=True).count()]
    context = {'relief_areas': relief_areas, 'stats': stats, 'lon': lon, 'lat': lat}
    return render_to_resp(request=request, template_name=template_name, context=context)