I\'ve created an APIView to list all posts of a blog:
APIView
from ..pagination import BlogPagination class BlogPostAPIView(APIView): pagination_class