diff --git a/cmdb/api.py b/cmdb/api.py index 4f7a346e..69266cda 100644 --- a/cmdb/api.py +++ b/cmdb/api.py @@ -81,7 +81,7 @@ def pages(post_objects, request): page public function , return page's object tuple 分页公用函数,返回分页的对象元组 """ - paginator = Paginator(post_objects, 20) + paginator = Paginator(post_objects, 65535) try: current_page = int(request.GET.get('page', '1')) except ValueError: