Skip to content

Commit 3f25130

Browse files
committed
docs for disabling page count
1 parent 9a3a2df commit 3f25130

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

flask_sqlalchemy/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,8 @@ def paginate(self, page=None, per_page=None, error_out=True, max_per_page=None,
433433
If ``page`` or ``per_page`` are ``None``, they will be retrieved from
434434
the request query. If ``max_per_page`` is specified, ``per_page`` will
435435
be limited to that value. If there is no request or they aren't in the
436-
query, they default to 1 and 20 respectively.
436+
query, they default to 1 and 20 respectively. If ``count`` is ``False``,
437+
no query to help determine total page count will be run.
437438
438439
When ``error_out`` is ``True`` (default), the following rules will
439440
cause a 404 response:

0 commit comments

Comments
 (0)