12 lines
307 B
Python
12 lines
307 B
Python
|
from djangoldp.views import LDPViewSet
|
||
|
from djangoldp.pagination import LDPPagination
|
||
|
|
||
|
|
||
|
class LDPNotificationsPagination(LDPPagination):
|
||
|
default_limit = 100
|
||
|
|
||
|
|
||
|
class LDPNotifcationsViewSet(LDPViewSet):
|
||
|
'''overridden LDPViewSet to force pagination'''
|
||
|
pagination_class = LDPNotificationsPagination
|