Commit c786f5fb authored by Nicolas Joyard's avatar Nicolas Joyard
Browse files

Fix QA

parent da7aecbe
......@@ -2,7 +2,7 @@ import datetime
import json
from django.db.models import Q
from django.http import HttpResponse
from django.http import HttpResponse, HttpResponseNotFound
from django.views import generic
from representatives.models import Chamber, Representative
......@@ -29,7 +29,8 @@ class ThemeScoresJSONView(generic.View):
data = {
"scores": [ts['score'] for ts in
return HttpResponse(json.dumps(data), content_type='application/json')
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment