I wrote in tags.py the following tag:
@register.simple_tag
def getUserName(request, user_id):
return foo(user_id)
In my html template I combined django symbol {{ }} together with angular symbol {[{ }]} (AngularJS with Django - Conflicting template tags). so I wrote there this expression:
{% getUserName request {[{ angular_conversation.user_id }]} %}
The problem is the django parser it before angularjs parses the internal expression. Please tell me how can I cause it works...