Skip to content
Snippets Groups Projects
Commit 9b6aab8f authored by Jean-Baptiste's avatar Jean-Baptiste
Browse files

update: set default depth to 0

parent 333b5803
No related branches found
No related tags found
1 merge request!15update: set default depth to 0
Pipeline #670 passed
...@@ -89,9 +89,9 @@ class LDPViewSet(LDPViewSetGenerator): ...@@ -89,9 +89,9 @@ class LDPViewSet(LDPViewSetGenerator):
"""An automatically generated viewset that serves models following the Linked Data Platform convention""" """An automatically generated viewset that serves models following the Linked Data Platform convention"""
fields = None fields = None
exclude = None exclude = None
depth = 1 depth = 0
renderer_classes = (JSONLDRenderer,) renderer_classes = (JSONLDRenderer,)
parser_classes = (JSONLDParser,) parser_classes =(JSONLDParser,)
authentication_classes = (NoCSRFAuthentication,) authentication_classes = (NoCSRFAuthentication,)
def __init__(self, **kwargs): def __init__(self, **kwargs):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment