mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-04 12:30:11 +03:00
missing bactic
This commit is contained in:
parent
64bc395759
commit
f34da6dec0
|
@ -9,7 +9,7 @@ def pagination_system_check(app_configs, **kwargs):
|
||||||
if api_settings.PAGE_SIZE and not api_settings.DEFAULT_PAGINATION_CLASS:
|
if api_settings.PAGE_SIZE and not api_settings.DEFAULT_PAGINATION_CLASS:
|
||||||
errors.append(
|
errors.append(
|
||||||
Warning(
|
Warning(
|
||||||
"You have specified a default PAGE_SIZE` pagination rest_framework setting,"
|
"You have specified a default `PAGE_SIZE` pagination rest_framework setting,"
|
||||||
"without specifying also a `DEFAULT_PAGINATION_CLASS`.",
|
"without specifying also a `DEFAULT_PAGINATION_CLASS`.",
|
||||||
hint="The prior version of rest_framework defaulted this setting to "
|
hint="The prior version of rest_framework defaulted this setting to "
|
||||||
"`PageNumberPagination` however pagination defaults to disabled now. "
|
"`PageNumberPagination` however pagination defaults to disabled now. "
|
||||||
|
|
Loading…
Reference in New Issue
Block a user