storage: Skip hashing markdown files.

This commit is contained in:
Alex Vandiver 2023-02-07 22:20:29 +00:00 committed by Alex Vandiver
parent d9af7f25e8
commit 25b97c2872
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ class IgnoreBundlesManifestStaticFilesStorage(ManifestStaticFilesStorage):
# used the hashed paths for these; in that case, though,
# we should instead be removing the non-hashed paths.
return name
if ext in [".json", ".po", ".mo", ".mp3", ".ogg", ".html"]:
if ext in [".json", ".po", ".mo", ".mp3", ".ogg", ".html", ".md"]:
# And same story for translation files, sound files, etc.
return name
return super().hashed_name(name, content, filename)