[英]Google App Engine filesizeformat issue
When using the filesizeformat filter from jinja2 with Google App Engine, the issue stated here: filesizeformat filter not working? 当将jinja2中的filesizeformat过滤器与Google App Engine一起使用时,此处所述的问题是: filesizeformat过滤器不起作用? is still happening.
仍在发生。 This is because app engine still uses jinja2 version 2.6.
这是因为应用引擎仍使用jinja2版本2.6。 How can I work around this issue?
如何解决此问题?
您可以按照“我可以导入自己的Google App Engine随附模块的版本吗?”中的说明,导入自己的jinja2库。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.