django-bower icon indicating copy to clipboard operation
django-bower copied to clipboard

Nice DRY template tag

Open andybak opened this issue 9 years ago • 1 comments

Django bower already knows what js files it installed. Instead of needing to do:

<script src='{% static 'foo1/bar.js' %}'></script>
<script src='{% static 'foo2/bar.js' %}'></script>
<script src='{% static 'foo3/bar.js' %}'></script>

it would be neat to just do:

{% bower_include %} 

andybak avatar May 07 '15 18:05 andybak

Nice how about the css files ?

obonyojimmy avatar Mar 11 '16 22:03 obonyojimmy