Ember.js template tags.
Provide helpers to use Ember.js with Django
Bases: django.template.base.Node
Helper tag to escape Ember template constructs that conflict with Django template syntax. When using verbatim style tags sometimes it is hard to spot what is Ember and what is Django; the purpose of this tag is making it easier.
Usage:
This will render as:
This tag is not aware of the Ember template syntax, it will just escape the constructs but will not make any check.
Bases: djangojs.templatetags.js.VerbatimNode
A Handlebars.js block is a verbatim block wrapped inside a named (template_id) <script> tag.
{% handlebars "tpl-popup" %}
{{#ranges}}
<li>{{min}} < {{max}}</li>
{{/ranges}}
{% endhandlebars %}
Bases: django.template.base.Node
Renders {% linkto arg1, "arg2" ... argn %} ... {% endlinkto %} as {{#linkTo arg1 "arg2" ... argn }} ... {{/linkTo}}.
The arguments are rendered ipsis literis, quotes included.
The tag content is parsed as a normal Django template (it is not like verbatim).
If you need a Handlebars.js tag or variable use {% ember varname %}, this will be rendered as {{ varname }}.