Assign multiple variables in a with statement after returning multiple values from a templatetag

Viewed 1033

Is there a way to assign multiple variables in a with statement in a django template. I'd like to assign multiple variables in a with statement after returning multiple values from a templatetag

My use case is this:

{% with a,b,c=object|get_abc %}
    {{a}}
    {{b}}
    {{c}}
{% endwith %} 
3 Answers
Related