update: notifications view on depth 1

This commit is contained in:
Calum Mackervoy 2020-11-18 14:42:56 +00:00 committed by Jean-Baptiste Pasquier
parent d321dedd32
commit 4213eccb30

View File

@ -9,3 +9,4 @@ class LDPNotificationsPagination(LDPPagination):
class LDPNotificationsViewSet(LDPViewSet): class LDPNotificationsViewSet(LDPViewSet):
'''overridden LDPViewSet to force pagination''' '''overridden LDPViewSet to force pagination'''
pagination_class = LDPNotificationsPagination pagination_class = LDPNotificationsPagination
depth = 1