Section A.8. Deployment Configuration


A.8. Deployment Configuration

When you create a project, you get two deployment configuration files: dev.cfg and sample-prod.cfg. If you look in these files, you'll find sqlobject.dburi options. Change this parameter to sqlalchemy.dburi. SQLAlchemy's database URI syntax is similar to that of SQLObject, and you will likely not have to change anything other than the name of the configuration parameter. Note that you will also need to change your production configuration file when you are deploying your code into production for the first time.




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

Similar book on Amazon

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