Created
October 18, 2018 20:16
-
-
Save kevotovar/9ff018ffabd55aa15ca1a2b403f8095f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from rest_framework.pagination import PageNumberPagination | |
class ClassRoomPagination(PageNumberPagination): | |
page_size = 12 | |
page_size_query_param = 'page_size' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment