<s> from rest_framework_extensions . mixins import PaginateByMaxMixin <EOL> from rest_framework . pagination import PageNumberPagination <EOL> class WithMaxPagination ( PaginateByMaxMixin , PageNumberPagination ) : <EOL> page_size = <NUM_LIT:10> <EOL> page_size_query_param = '<STR_LIT>' <EOL> max_page_size = <NUM_LIT:20> <EOL> class FlexiblePagination ( PageNumberPagination ) : <EOL> page_size = <NUM_LIT:10> <EOL> page_size_query_param = '<STR_LIT>' <EOL> class FixedPagination ( PageNumberPagination ) : <EOL> page_size = <NUM_LIT:10> </s>
