From 9b6aab8f7f21251c3d198f5333b776c644dbc2d7 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste <bleme@pm.me> Date: Tue, 5 Feb 2019 12:03:49 +0100 Subject: [PATCH] update: set default depth to 0 --- djangoldp/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/djangoldp/views.py b/djangoldp/views.py index 49780c28..9f38b079 100644 --- a/djangoldp/views.py +++ b/djangoldp/views.py @@ -89,9 +89,9 @@ class LDPViewSet(LDPViewSetGenerator): """An automatically generated viewset that serves models following the Linked Data Platform convention""" fields = None exclude = None - depth = 1 + depth = 0 renderer_classes = (JSONLDRenderer,) - parser_classes = (JSONLDParser,) + parser_classes =(JSONLDParser,) authentication_classes = (NoCSRFAuthentication,) def __init__(self, **kwargs): -- GitLab