Revision 1295f78a

b/snf-cyclades-app/synnefo/admin/views.py
45 45

  
46 46
@api.api_method(http_method='GET', user_required=False, token_required=False,
47 47
                logger=log)
48
@api.allow_jsonp()
48 49
def get_stats(request):
49 50
    stats = get_statistics()
50 51
    data = json.dumps(stats)
51
    return http.HttpResponse(data, status=200)
52
    return http.HttpResponse(data, status=200, content_type='application/json')
52 53

  
53 54

  
54 55
def get_statistics():

Also available in: Unified diff