Flask 0.5 发布,代号 Calvados
What's new: * fixed a bug with subdomains that was caused by the inability to specify the server name. The server name can now be set with the SERVER_NAME config key. This key is now also used to set the session cookie cross-subdomain wide. * autoescaping is no longer active for all templates. Instead it is only active for .html, .htm, .xml and .xhtml. Inside templates this behaviour can be changed with the autoescape tag. * refactored Flask internally. It now consists of more than a single file. * flask.send_file() now emits etags and has the ability to do conditional responses builtin. * (temporarily) dropped support for zipped applications. This was a rarely used feature and led to some confusing behaviour. * added support for per-package template and static-file directories. * removed support for create_jinja_loader which is no longer used in 0.5 due to the improved module support. * added a helper function to expose files from any directory. Links: Online Documentation: http://flask.pocoo.org/docs/ Downloadable PDF: http://flask.pocoo.org/docs/flask-docs.pdf Website: http://flask.pocoo.org/ On Github: http://github.com/mitsuhiko/flask PyPI Record: http://pypi.python.org/pypi/Flask
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。