This topic created in 3461 days ago, the information mentioned may be changed or developed.
<li {% if show_followed %} class="active"{% endif %}>
在 cookie 里面 show_followed 值为 1 ,然后用{% if show_followed %}可以获取 cookie 值,但是在实际上用的时候我没有获取到这个 show_followed 的值,这是为什么呢?求解,在 flask web 开发一书中是可以的。