o
    cZh                     @   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r|js|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   L/var/www/html/lang_env/lib/python3.10/site-packages/rest_framework/checks.pypagination_system_check   s   r   N)Zdjango.core.checksr   r   r   compatibilityr   r   r   r   r   <module>   s    