How does djangae switch between the SDK and the production datastore?

25 views
Skip to first unread message

ja...@padmit.com

unread,
Sep 7, 2019, 7:52:53 PM9/7/19
to djangae-users
Good afternoon,

I'm going through the 'Database Backend' documentation (https://djangae.readthedocs.io/en/latest/db_backend/), and came accross the following statement:

"Note that the Database backend and settings for the Datastore remain the same whether you're in local development or on App Engine Production, djangae switches between the SDK and the production datastore appropriately."

I usually work with Cloud SQL and change between the development database and production database in settings.py (similar to the example shown on the documentation). I'd like to understand a bit more about how does djangae switch between SDK and production databases? Where does this switch happens? Basically, I'm looking to understand what happens behind the scenes.

I hope you can help me with this.

Thank you !

Jaime 
Reply all
Reply to author
Forward
0 new messages