We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 916a4a2 commit 5b77a77Copy full SHA for 5b77a77
rest_framework/checks.py
@@ -12,7 +12,10 @@ def pagination_system_check(app_configs, **kwargs):
12
"You have specified a default PAGE_SIZE pagination rest_framework setting,"
13
"without specifying also a DEFAULT_PAGINATION_CLASS.",
14
hint="The default for DEFAULT_PAGINATION_CLASS is None. "
15
- "In previous versions this was PageNumberPagination",
+ "In previous versions this was PageNumberPagination. "
16
+ "If you wish to define PAGE_SIZE globally whilst defining "
17
+ "pagination_class on a per-view basis you may silence this check.",
18
+ id="rest_framework.W001"
19
)
20
21
return errors
0 commit comments