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

@ -1,4 +1,5 @@
from django.http import Http404
from rest_framework.response import Response
from rest_framework.viewsets import ViewSet