5👍
✅
I think this should solve your problem
https://gist.github.com/ericflo/629508
so use something like
{% verbatim %} {{clientSideContent}} {% endverbatim %}
2👍
Never versions of django (starting from version 1.5) have support for the {% verbatim %}
tag:
So something like this should work:
<script id="my-script" type="text/x-handlebars-template">
{% verbatim %}
<p> {{clientSideContent}} </p>
{% endverbatim %}
</script>
Hope it helps.
- [Django]-Ngnix – duplicate upstream "app_server" in /etc/nginx/sites-enabled/django
- [Django]-Django-based skill implementation
- [Django]-Testing Django view requiring user authentication with Factory Boy
- [Django]-Django and date range picker component for Twitter Bootstrap
Source:stackexchange.com