Section A.9. Application Configuration


A.9. Application Configuration

If your project does not use identity, you don't need to make any changes in your application configuration.

Your main application configuration is stored in yourproject/yourpackage/config/app.cfg. This file contains your application's identity configuration. Turbo-Gears includes identity providers for both SQLObject and SQLAlchemy. There are three changes to be made in this file:

  1. Replace all occurrences of "soprovider" with "saprovider".

  2. Set visit.manager="sqlalchemy"

  3. Set identity.provider="sqlalchemy"




Rapid Web Applications with TurboGears(c) Using Python to Create Ajax-Powered Sites
Rapid Web Applications with TurboGears: Using Python to Create Ajax-Powered Sites
ISBN: 0132433885
EAN: 2147483647
Year: 2006
Pages: 202

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net