TurboGears 2.1 正式发布
从时间上来说,TG 从 2.0 到 2.1 整整花去了一年,直到11.19才真正发布了 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。吃饭没事做,又去看了一回入门,嗯,貌似比以前清爽,我已经忘了他是否改过入门教程 -_-
