Re: Make STATIC_URL context variable aware of backing storage with staticfiles

2016-03-19 Thread Florian Apolloner
On Saturday, March 19, 2016 at 7:01:28 PM UTC+1, Daniel R wrote: > > But given the wide use of {{STATIC_URL}} this may be an easy and > worthwhile fix instead of asking users to change template references. > Wide? Not sure what your definition of wide is, but I suspect that the tag has way hig

Make STATIC_URL context variable aware of backing storage with staticfiles

2016-03-19 Thread Daniel R
I've always used the STATIC_URL context processor variable in templates and didn't have trouble with it up until a few days ago when a customer required to use the STATICFILES_STORAGE. I then realized I would need to change all the {{STATIC_URL}} template references to use a {% static %} tag vi