nvbn / django-bower

Easy way to use bower with your django project
https://django-bower.readthedocs.io/
518 stars 75 forks source link

Nice DRY template tag #45

Open andybak opened 9 years ago

andybak commented 9 years ago

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 %} 
obonyojimmy commented 8 years ago

Nice how about the css files ?