def heartbeat_status(request): return HttpResponse( json.dumps({ "last_timestamp": str(last_heartbeat()), "last_from_file": get_file_heartbeat(), "last_from_cache": get_cache_heartbeat() }))
def heartbeat_status(request): return HttpResponse(json.dumps({"last_timestamp": str(last_heartbeat()), "last_from_file": get_file_heartbeat(), "last_from_cache": get_cache_heartbeat()}))