Monday, January 14, 2013

Django Support - Google App Engine — Google Developers

Django Support - Google App Engine — Google Developers: "Alternate development database and settings

In an ideal setup, you would use an alternate database during development to avoid corrupting your production data while working on your project. You could create another database on your Google Cloud SQL instance for this, or you can even use a local MySQL database instead.

You will also need a system to allow for switching between project settings used exclusively in development, and those used in production. This can be accomplished in many different ways, one of which is shown in the following settings.py snippet:"

'via Blog this'