wg-backend-django/acer-env/lib/python3.10/site-packages/django/contrib/staticfiles/checks.py

15 lines
391 B
Python
Raw Normal View History

2022-11-30 03:58:16 -05:00
from django.contrib.staticfiles.finders import get_finders
def check_finders(app_configs=None, **kwargs):
"""Check all registered staticfiles finders."""
errors = []
for finder in get_finders():
try:
finder_errors = finder.check()
except NotImplementedError:
pass
else:
errors.extend(finder_errors)
return errors