o
    {,hN                     @   sT   d dl mZmZ d dlmZ d dlmZ ede dddZdd	d
ZdddZ	dS )    )STATICFILES_STORAGE_ALIASsettings)get_finders)Errorz$The STORAGES setting must define a 'z
' storage.zstaticfiles.E005)idNc              	   K   s>   g }t  D ]}z| }W n	 ty   Y qw || q|S )z)Check all registered staticfiles finders.)r   checkNotImplementedErrorextend)app_configskwargserrorsfinderfinder_errors r   W/var/www/html/rh/venv/lib/python3.10/site-packages/django/contrib/staticfiles/checks.pycheck_finders   s   
r   c                 K   s   g }t tjvr|t |S )z2Ensure staticfiles is defined in STORAGES setting.)r   r   STORAGESappendE005)r
   r   r   r   r   r   check_storages   s   

r   )N)
django.confr   r   "django.contrib.staticfiles.findersr   django.core.checksr   r   r   r   r   r   r   r   <module>   s    

