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 higher usage, especially since it is the only way if you want to 
work it with the storage backends.
 

> What do you think ? 
>

Nothing, cause it is not as simple as you suggest, storage backends in 
general also change the name of the file to include a hash of the contents 
etc… Your only sensible option is to switch to the tag. Fwiw, writing a 
simple script which performs replacement in every template should be simple 
enough…

Cheers,
Florian

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/7457a42c-b166-4ea4-bc1e-cda1477a81ea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to