Commit c786f5fb authored by Nicolas Joyard's avatar Nicolas Joyard

Fix QA

parent da7aecbe
Pipeline #171 failed with stage
in 15 minutes and 56 seconds
......@@ -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')
Markdown is supported
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