Fix punctuation in system check (#7281)

This commit is contained in:
Byron Peebles 2020-04-20 19:40:05 -04:00 committed by GitHub
parent 8cba4f87ca
commit 676aa77223
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 default for DEFAULT_PAGINATION_CLASS is None. " hint="The default for DEFAULT_PAGINATION_CLASS is None. "
"In previous versions this was PageNumberPagination. " "In previous versions this was PageNumberPagination. "