Disable STATIC_URL ?
See original GitHub issueHello,
I’d like to route all my static assets through flask. Is there a way to stop the functionality provided by STATIC_URL? Currently, I have it set in my dockerfile to a long random string, effectively disabling it (since this string would never be reached on the frontend), but this feels like a hack.

Is there a better solution?
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
How to disable static url in angular ui-router? - Stack Overflow
So for future lurkers, here's what you need to do. Just add this attribute to your static page's anchor tag: target="_self". Like this:...
Read more >Technical Tip: FortiGate Static URL filter actions explained
FortiGate Static URL filter with FortiGuard category filter ... to the needs (by default they are disabled - neither Allow, nor Block).
Read more >Stop using STATIC_URL in templates
Stop using STATIC_URL and start using the static template tag to ensure your URLs work across storages. What does that mean? It means...
Read more >The staticfiles app - Django documentation
Therefore if you remove an application from INSTALLED_APPS , it's a good idea to use the collectstatic --clear option in order to remove...
Read more >Dynamic URLs vs. static URLs | Google Search Central Blog
A static URL is one that does not change, so it typically does not contain ... and not remove information by hiding parameters...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I will try that next time I’m in for a refactor with this client. Thanks!
Assuming the original issue was solved, it will be automatically closed now. But feel free to add more comments or create new issues.