django - Wagtail CMS APIv2 Pagination not Showing Numbers or Next & Previous -
i can't seem pagination work wagtail cms projects api. shows random list of 20 on page, image or documents. code listed below settings file. wagtail documents mention adding rest_framework
settings file allow browsing can't seem figure out how browse , not 20 results. thank you.
rest_framework = { 'default_pagination_class': 'rest_framework.pagination.pagenumberpagination', 'page_size': 100, 'default_renderer_classes': ( 'rest_framework.renderers.jsonrenderer', 'rest_framework.renderers.browsableapirenderer', ), 'default_parser_classes': ( 'rest_framework.parsers.jsonparser', ), }
Comments
Post a Comment