forked from kongfp/TP_Admin
查询结果增加筛选功能
parent
7f56dc2dad
commit
7654b85254
@ -0,0 +1,9 @@
|
||||
from rest_framework.pagination import PageNumberPagination
|
||||
|
||||
|
||||
class MyPageNumberPagination(PageNumberPagination):
|
||||
page_size = 10
|
||||
page_query_param = "page"
|
||||
page_size_query_param = "page_size"
|
||||
max_page_size = 100
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue