File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
appengine/flexible/django_cloudsql Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -100,6 +100,21 @@ which deploys to version 1, and `promote` makes version 1 the default version.
100
100
101
101
Now you can view the admin panel of your deployed site at https://<your-app-id >.appspot.com/admin.
102
102
103
+ ### Production
104
+
105
+ Once you are ready to serve your content in production, there are several
106
+ changes required for the configuration. Most notable changes are:
107
+ * Add ".appspot.com" to your ` ALLOWED_HOSTS `
108
+ * Change the ` DEBUG ` variable to ` False ` in your settings.py file.
109
+ * If you are using a Cloud SQL database
110
+ instance, in order to change from ` DEBUG = True `
111
+ to ` DEBUG = False ` you will need to properly configure the database. See
112
+ instructions
113
+ [ here] ( https://cloud.google.com/sql/docs/app-engine-connect#gaev2-csqlv2 ) and be
114
+ sure to change your ` app.yaml ` file as well as the ` HOST ` key in your
115
+ ` DATABASES ` object.
116
+
117
+
103
118
## Contributing changes
104
119
105
120
* See [ CONTRIBUTING.md] ( CONTRIBUTING.md )
You can’t perform that action at this time.
0 commit comments