u'with' expected at least one variable assignment

Django 1.5.4中模板标签bug

{% with votetitleID = votetitle.id %}

会报u'with' expected at least one variable assignment的错误

{% with votetitleID=votetitle.id %}

把等号两边的空格去掉则恢复正常

参考
https://github.com/mitsuhiko/jinja2/issues/208

你可能感兴趣的:(u'with' expected at least one variable assignment)