Is it possible to use templates for static files? I would like django could process the static files with template processor before copying them in the static folder when manage collectstatic
is issued.
Of course the context would not contain request information but it could be useful to use such information as:
- urls from url names to be used in javascript code
- settings to be used to customize css or static html pages
What is the simpler way to accomplish this?