nicer indented json encoding now also in rest api

This commit is contained in:
Laura Klünder 2016-09-13 16:20:37 +02:00
parent 55fc17e872
commit 84bb9ad73a
10 changed files with 62 additions and 40 deletions

View file

@ -4,6 +4,7 @@ import os
from django.conf import settings
from django.core.files import File
from django.http import HttpResponse
from rest_framework.decorators import detail_route
from rest_framework.viewsets import ReadOnlyModelViewSet