Overview
TurboGears 2.4.3, released on March 1, 2021, is a maintenance release fixing bugs and improving compatibility.
Main Features
Bug fixes
Fixes bugs in session handling, routing, and compatibility with recent Python versions.
python
from tg import expose, TGController
class RootController(TGController):
@expose('json')
def index(self):
return {'message': 'TurboGears 2.4.3'}
@expose('json')
def api(self, **kw):
return {'status': 'ok', 'params': kw}
Compatibility
Better compatibility with recent versions of WebOb, SQLAlchemy, and other dependencies.
python
# Installation
# pip install TurboGears2==2.4.3
# Create a project
# gearbox quickstart myproject
# cd myproject
# pip install -e .
# gearbox serve
