Django - 'SafeText' object has no attribute 'get'
问题 I'm trying to display a chart with help of Highchart by following this solution: Passing Django Database Queryset to Highcharts via JSON But I keep getting this error: 'SafeText' object has no attribute 'get' Which I have been trying to find for days. Still new to this and appreciate your help, folks! EDIT Django: 1.10 Python: 3.6 views.py class ChartData(object): def check_valve_data(self): data = {'member_no': []} people = Member.objects.all() for unit in people: data['member_no'].append