def find_files():
# copied from django.contrib.staticfiles.management.commands.collectstatic
found_files = OrderedDict()
for finder in get_finders():
for path, storage in finder.list([]):
if path not in found_files:
found_files[path] = (storage, path)
return found_files
评论列表
文章目录