1 | | What point does the ValueError serve? This is not a linter - if the file is not there, just continue on. |
| 1 | What point does the ValueError serve? This is not a linter - if the file is not there, just continue on. I ended up doing this. |
| 2 | |
| 3 | |
| 4 | {{{ |
| 5 | class CustomManifestStaticFilesStorage(ManifestStaticFilesStorage): |
| 6 | manifest_strict = False |
| 7 | |
| 8 | def hashed_name(self, name, content=None): |
| 9 | try: |
| 10 | return super().hashed_name(name, content) |
| 11 | except ValueError: |
| 12 | # Skip hashing for missing files, use original name |
| 13 | return name |
| 14 | }}} |