0👍
✅
You need to tell Django not to try to parse the Angular tags. Use {% verbatim %}
to do that.
👤Tom
1👍
Django and AngularJS both use the double brace syntax {{ variable }}
you will need to escape the double braces at the Django template level so that Django does not try to render your tag
data-ng-href="{% templatetag openvariable %} $kjTheme {% templatetag closevariable %}"
- How to use a model in a Python Django project for multiple applications?
- How to save user from non class based view in django?
Source:stackexchange.com