TurboGears 2.1 正式发布
TG 与 pylons 是类似的一个 python 开发框架,整合了一堆组件,如果你原来有了解过TG的话,那么现在来看看有哪些变化:
- TurboJson Requirement dropped.
- Refactor of Dispatch Code.
- Front-ported Beaker Secret key functionality.
- Refactored Auth support to handle non-SA auth.
- Deprecated lookup in favor of _lookup.
- Deprecated default in favor of _defaul
- Added disable_request_extensions flag to configuration to allow users to ignore the request extension dispatch bits of object dispatch.
- Increased length of Permission.permission_name to 63 chars.
- Added use_dotted_templatenames support for Genshi.
- Added ignore_parameters setting in the config
- Added ability to have sa_auth.cookie_secret in .ini file
- Added cookie_secret to quickstart template
- Added tgext template
- Added backwards compat for TurboJson
- Functools removed as a dependency of TG2
- Tests fixed to not be order-dependent.
- mako bytcode cashing added.
- Python 2.4 compatibility.
- Added tg.abort as a proxy to pylons.controllers.util.abort.
- Dependency on SA, r.xxx, and tw removed for those projects that do not need them.
以及修复了无数的 bug。吃饭没事做,又去看了一回入门,嗯,貌似比以前清爽,我已经忘了他是否改过入门教程 -_-
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。