Does the "manifest_strict" attribute on "ManifestFilesMixin" work?

123 views
Skip to first unread message

Chris Bergstresser

unread,
Oct 1, 2018, 7:29:45 AM10/1/18
to Django users
Hi all --

   For some reason, I get a "Missing staticfiles manifest entry" even though the file it's complaining about is listed in the manifest. I don't get the error when DEBUG is turned on, and I'm not sure why.
   At any rate, I tried subclassing "ManifestStaticFilesStorage" and setting "manifest_strict" to False as it says in the documentation. I still get a ValueError. The code appears to check that attribute, then call "self.hashed_name(name)" anyway, which checks to see if the file exists and throws an error if it doesn't.
   Is this intended behavior? Does anyone know why I'd be getting a "Missing staticfiles manifest entry" only if DEBUG were turned off?

-- Chris

Kevin Dublin

unread,
Nov 14, 2019, 7:28:01 AM11/14/19
to Django users
Hi Chris,

DId you ever find a solution to this? Because I'm encountering a very similar error.

--Kevin
Reply all
Reply to author
Forward
0 new messages