3 ms·
The template tag conflicts with Django's. You can easily define a new AngularJS tag like this: "(( ))" tag var m = angular.module('myApp', []); m.config(functi
by dannyr 14y ago
The template tag conflicts with Django's. You can easily define a new AngularJS tag like this: "(( ))" tag
var m = angular.module('myApp', []); m.config(function($interpolateProvider) { $interpolateProvider.startSymbol('(('); $interpolateProvider.endSymbol('))'); });
http://stackoverflow.com/questions/8302928/angularjs-with-django-conflicting-template-tags http://stackoverflow.com/questions/8302928/angularjs-with-dj...
- swaroop 14y agoDjango 1.5 will include a verbatim template tag https://docs.djangoproject.com/en/dev/releases/1.5/#verbatim-template-tag https://docs.djangoproject.com/en/dev/releases/1.5/#verbatim...