Fixed #31517 -- Fixed HashedFilesMixin.hashed_name() if hash of the file is None.

This commit is contained in:
Richard Campen 2020-04-27 08:19:22 +12:00 committed by Mariusz Felisiak
parent 35f89d199c
commit 67b334fbaf
3 changed files with 15 additions and 2 deletions

View file

@ -88,3 +88,8 @@ class ExtraPatternsStorage(ManifestStaticFilesStorage):
),
),
)
class NoneHashStorage(ManifestStaticFilesStorage):
def file_hash(self, name, content=None):
return None