MCPcopy
hub / github.com/django/django / post_process

Method post_process

django/contrib/staticfiles/storage.py:543–547  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

541 )
542
543 def post_process(self, *args, **kwargs):
544 self.hashed_files = {}
545 yield from super().post_process(*args, **kwargs)
546 if not kwargs.get("dry_run"):
547 self.save_manifest()
548
549 def save_manifest(self):
550 sorted_hashed_files = sorted(self.hashed_files.items())

Callers

nothing calls this directly

Calls 3

save_manifestMethod · 0.95
post_processMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected