Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nice DRY template tag #45

Open
andybak opened this issue May 7, 2015 · 1 comment
Open

Nice DRY template tag #45

andybak opened this issue May 7, 2015 · 1 comment

Comments

@andybak
Copy link

andybak commented May 7, 2015

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
Copy link

Nice how about the css files ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants