#!/usr/bin/python3
# -*- coding: utf-8 -*-
# @Time    : 2020/2/11 18:21
# @Author  : HelloWorld
# @File    : pagination.py
from rest_framework import pagination


class DataPagination(pagination.PageNumberPagination):
    page_query_param = "page"
    page_size = 2
    page_size_query_param = "size"
    max_page_size = None


626d4f80a80a76921cb4f91b6b5496fc1f65f005
<mask token>

<mask token>


class DataPagination(pagination.PageNumberPagination):
    <mask token>
    <mask token>
    <mask token>
    <mask token>

<mask token>


class DataPagination(pagination.PageNumberPagination):
    page_query_param = 'page'
    page_size = 2
    page_size_query_param = 'size'
    max_page_size = None

from rest_framework import pagination


class DataPagination(pagination.PageNumberPagination):
    page_query_param = 'page'
    page_size = 2
    page_size_query_param = 'size'
    max_page_size = None

#!/usr/bin/python3
# -*- coding: utf-8 -*-
# @Time    : 2020/2/11 18:21
# @Author  : HelloWorld
# @File    : pagination.py
from rest_framework import pagination


class DataPagination(pagination.PageNumberPagination):
    page_query_param = "page"
    page_size = 2
    page_size_query_param = "size"
    max_page_size = None

