mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-24 18:44:00 +03:00
107e8b3d23
* Changes to the paginator defaults and settings Require a default paginator be specified when using the page size setting. https://github.com/encode/django-rest-framework/issues/5168 * DRF-5168 import warnings missed this in last commit * Add a system checks file Add a check for pagination settings for the 3.7 upgrade cycle. * more compatible import approach * missing bactic * revised language and approach to import the system check Adds a rest framework app config. * Adjust doc wording
11 lines
255 B
Python
11 lines
255 B
Python
from django.apps import AppConfig
|
|
|
|
|
|
class RestFrameworkConfig(AppConfig):
|
|
name = 'rest_framework'
|
|
verbose_name = "Django REST framework"
|
|
|
|
def ready(self):
|
|
# Add System checks
|
|
from .checks import pagination_system_check # NOQA
|