Re: static templatetag: adding default argument blank

2019-01-20 Thread Mohammad Etemaddar
You are right. This is a better option, {{ STATIC_URL }}. Mohammad Etemaddar * in * Programming services: *Python* & *Linux* On Sun, Jan 20, 2019 at 9:46 PM Adam Johnson wrote: > I would be against adding this. Most text editors sup

Re: static templatetag: adding default argument blank

2019-01-20 Thread Adam Johnson
I would be against adding this. Most text editors support a find-and-replace with regex option that would let you capture the asset path and place it within the {% static '' %} tag; additionally, you could always change your templates to include STATIC_URL globally and just do {{ STATIC_URL }} if y