# views.py import json from django.http import HttpResponse def index(request): data = json.dumps([your_data_here]) return HttpResponse(content=data, content_type='application/json') 然后把返回的数据(直接就是json格式的对象),插入到highcharts的series里头。
然后把返回的数据(直接就是json格式的对象),插入到highcharts的series里头。