Found a Flask template bug caused by PyObject_HEAD size in Python for 32bit Windows.
Continue reading
_"未格式化的导入日志 unformatted imported post"_
在Django中编写模板(template)的时候, 有时候可能会用到settings中设定的变量, 比如说STATIC_URL。 此时, 如果你直接使用 是取不到值的。 那么怎么才能在模板中使用呢? 难道非得在每个view中添加到context中吗?