U
    ڲg                     @   s*   d dl mZmZmZ eejdd ZdS )    )TagsWarningregisterc                 K   s4   g }ddl m} |jr0|js0|tdddd |S )Nr   )api_settingsz}You have specified a default PAGE_SIZE pagination rest_framework setting, without specifying also a DEFAULT_PAGINATION_CLASS.zThe default for DEFAULT_PAGINATION_CLASS is None. 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.zrest_framework.W001)hintid)Zrest_framework.settingsr   Z	PAGE_SIZEZDEFAULT_PAGINATION_CLASSappendr   )Zapp_configskwargserrorsr    r   9/tmp/pip-unpacked-wheel-11h17kvo/rest_framework/checks.pypagination_system_check   s    r   N)Zdjango.core.checksr   r   r   Zcompatibilityr   r   r   r   r   <module>   s   