Django context must be a dict rather than QuerySet.
render에 QuerySet을 전달해서 발생한 오류 def dashboard(request) : template = 'ocr/dashboard.html' chars = Trained_Box.objects.filter(status='registered').values('char').annotate(total=Count('char')).order_by('-total') return render(request, template, chars) 결과 수정 def dashboard(request) : template = 'ocr/dashboard.html' chars = Trained_Box.objects.filter(status='registered').values('char').annotate(total=Co..
2021.04.03