diff --git a/rest_framework/checks.py b/rest_framework/checks.py index af6634d1e3..c1e6260189 100644 --- a/rest_framework/checks.py +++ b/rest_framework/checks.py @@ -12,7 +12,10 @@ def pagination_system_check(app_configs, **kwargs): "You have specified a default PAGE_SIZE pagination rest_framework setting," "without specifying also a DEFAULT_PAGINATION_CLASS.", hint="The default for DEFAULT_PAGINATION_CLASS is None. " - "In previous versions this was PageNumberPagination", + "In previous versions this was PageNumberPagination. " + "If you wish to define PAGE_SIZE globally whilst defining " + "pagination_class on a per-view basis you may silence this check.", + id="rest_framework.W001" ) ) return errors pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy