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finderZfinder_errors r   /home/ubuntu/experiments/live_experiments/Pythonexperiments/Otree/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   ZSTORAGESappendE005)r
   r   r   r   r   r   check_storages   s   

r   )N)
Zdjango.confr   r   Z"django.contrib.staticfiles.findersr   Zdjango.core.checksr   r   r   r   r   r   r   r   <module>   s    

