TurboGears / tg2

Python web framework with full-stack layer implemented on top of a microframework core with support for SQL DBMS, MongoDB and Pluggable Applications
http://www.turbogears.org/
Other
806 stars 78 forks source link

Multiple Databases needs Documentation fix #83

Closed ghost closed 7 years ago

ghost commented 7 years ago

Latest 2.3.10 documentation at http://turbogears.readthedocs.io/en/latest/cookbook/multiple-databases.html#id4 recommends to override the setup_sqlalchemy function of the AppConfig class, but the functions name was changed to _setup_sqlalchemy !

vanquishregret commented 7 years ago

Was just hit by this as well, the function signature also changed.

Comments in tg/configuration/app_config.py as need to be updated.

amol- commented 7 years ago

Should have been improved by https://github.com/TurboGears/tg2docs/commit/b7969f96a87eebdd6ad119c963e4a4faee2bea2c