#2
fall_bernana2022-02-16 10:07
回复 楼主 wangjx236007
|
我在前端用session做了个条件,但运行错误,求大师指点,谢谢了
{% if request.session.stuts ='1' %}
<li><a href="/check/list/">我的复核</a></li>
<li><a href="/checkname/list/">完成复核</a></li>
{% endif %}
出现问题:django.template.exceptions.TemplateSyntaxError: Could not parse the remainder: '=='1'' from '=='1''