Commit 8e01f94e authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

JsonResponse wants a dict

parent 81743bbc
Pipeline #5526 passed with stage
in 42 seconds
......@@ -135,7 +135,7 @@ def graph_svg(request):
def ordered_projects(request):
return JsonResponse(models.ordered_projects)
return JsonResponse({'ret': models.ordered_projects})
class AuthenticatedOrReadOnlyModelViewSet(viewsets.ModelViewSet):
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