Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix __admin_media_prefix__ pointing to nonexistent resource
Closes stephenmcd#1895 It breaks sites on production that use the ManifestStaticFilesStorage. For such cases, Django provides the "get_static_prefix" template tag. But it's an incitement to bypass the storage mechanism to produce the URL to cache (by appending a hash in this case). And I don't understand how it could work with more "exotic" yet valid backends relying on cloud storage or CDNs, where the source file path and the URL path won't match one to one. I advise against this usage and call for its deprecation.
- Loading branch information