Views¶
-
class
rest_api_framework.views.
JsonResponse
(model, ressource_name, formaters=['add_ressource_uri'], **options)[source]¶ A werkzeug Response rendering a json representation of the object(s) This class is callable. you should do :
view = JsonResponse(model, ressource_name, formaters=formaters, **options) return view(objects)