I have the following code in my view
def pie_chart(request): labels = [] data = [] queryset = BBSO_Records.objects.all() for sos in queryset: labels.appe