Can I use Django\'s template tags inside Javascript? Like using {% form.as_p %} in jQuery to dynamically add forms to the page.
{% form.as_p %}
If you want to use variables inside your rendered javascript I (that's my opnion), think it's a bad idea. But if all you want is to generate URL for your views, media and static files, I do this a lot.
Take a look to this github: jscssmin