Wednesday, November 13, 2019

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

Hi Chris,

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

--Kevin

On Monday, October 1, 2018 at 4:29:45 AM UTC-7, Chris Bergstresser wrote:
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

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/7bc688c3-3af2-4adc-8144-91e8326ba75f%40googlegroups.com.

No comments:

Post a Comment