mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Fixed #31517 -- Fixed HashedFilesMixin.hashed_name() if hash of the file is None.
This commit is contained in:
committed by
Mariusz Felisiak
parent
35f89d199c
commit
67b334fbaf
@@ -88,3 +88,8 @@ class ExtraPatternsStorage(ManifestStaticFilesStorage):
|
||||
),
|
||||
),
|
||||
)
|
||||
|
||||
|
||||
class NoneHashStorage(ManifestStaticFilesStorage):
|
||||
def file_hash(self, name, content=None):
|
||||
return None
|
||||
|
||||
Reference in New Issue
Block a user