MCPcopy
hub / github.com/django/django / check_finders

Function check_finders

django/contrib/staticfiles/checks.py:11–21  ·  view source on GitHub ↗

Check all registered staticfiles finders.

(app_configs, **kwargs)

Source from the content-addressed store, hash-verified

9
10
11def check_finders(app_configs, **kwargs):
12 """Check all registered staticfiles finders."""
13 errors = []
14 for finder in get_finders():
15 try:
16 finder_errors = finder.check()
17 except NotImplementedError:
18 pass
19 else:
20 errors.extend(finder_errors)
21 return errors
22
23
24def check_storages(app_configs, **kwargs):

Calls 3

get_findersFunction · 0.90
extendMethod · 0.80
checkMethod · 0.45