How to automatically add '/static/' in every url that loading files

I want to use static without {% load static %}, just a raw html. How can I automatically add 'static' in every url, that loading any file. For example, site requesting file in "/js/script.js", but I want to get "/static/js/script.js" url. How can I do this?Shall I use middleware or it would be some easiest way? Thanks!

Back to Top