Skip to content

Commit 634576d

Browse files
chore(gae): delete old region tags at django_cloudsql (#13111)
1 parent 05a225f commit 634576d

File tree

4 files changed

+0
-12
lines changed

4 files changed

+0
-12
lines changed

appengine/flexible/django_cloudsql/app.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414
#
15-
# [START runtime]
1615
# [START gaeflex_py_django_app_yaml]
1716
runtime: python
1817
env: flex
@@ -24,4 +23,3 @@ beta_settings:
2423
runtime_config:
2524
python_version: 3.7
2625
# [END gaeflex_py_django_app_yaml]
27-
# [END runtime]

appengine/flexible/django_cloudsql/mysite/settings.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@
109109

110110
# Database
111111

112-
# [START dbconfig]
113112
# [START gaeflex_py_django_database_config]
114113
# Use django-environ to parse the connection string
115114
DATABASES = {"default": env.db()}
@@ -120,7 +119,6 @@
120119
DATABASES["default"]["PORT"] = 5432
121120

122121
# [END gaeflex_py_django_database_config]
123-
# [END dbconfig]
124122

125123
# Use a in-memory sqlite3 database when testing in CI systems
126124
if os.getenv("TRAMPOLINE_CI", None):
@@ -162,7 +160,6 @@
162160
USE_TZ = True
163161

164162
# Static files (CSS, JavaScript, Images)
165-
# [START staticurl]
166163
# [START gaeflex_py_django_static_config]
167164
# Define static storage via django-storages[google]
168165
GS_BUCKET_NAME = env("GS_BUCKET_NAME")
@@ -177,7 +174,6 @@
177174
}
178175
GS_DEFAULT_ACL = "publicRead"
179176
# [END gaeflex_py_django_static_config]
180-
# [END staticurl]
181177

182178
# Default primary key field type
183179
# https://docs.djangoproject.com/en/stable/ref/settings/#default-auto-field

appengine/flexible_python37_and_earlier/django_cloudsql/app.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414
#
15-
# [START runtime]
1615
# [START gaeflex_py_django_app_yaml]
1716
runtime: python
1817
env: flex
@@ -24,4 +23,3 @@ beta_settings:
2423
runtime_config:
2524
python_version: 3.7
2625
# [END gaeflex_py_django_app_yaml]
27-
# [END runtime]

appengine/flexible_python37_and_earlier/django_cloudsql/mysite/settings.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@
109109

110110
# Database
111111

112-
# [START dbconfig]
113112
# [START gaeflex_py_django_database_config]
114113
# Use django-environ to parse the connection string
115114
DATABASES = {"default": env.db()}
@@ -120,7 +119,6 @@
120119
DATABASES["default"]["PORT"] = 5432
121120

122121
# [END gaeflex_py_django_database_config]
123-
# [END dbconfig]
124122

125123
# Use a in-memory sqlite3 database when testing in CI systems
126124
if os.getenv("TRAMPOLINE_CI", None):
@@ -163,7 +161,6 @@
163161
USE_TZ = True
164162

165163
# Static files (CSS, JavaScript, Images)
166-
# [START staticurl]
167164
# [START gaeflex_py_django_static_config]
168165
# Define static storage via django-storages[google]
169166
GS_BUCKET_NAME = env("GS_BUCKET_NAME")
@@ -172,7 +169,6 @@
172169
STATICFILES_STORAGE = "storages.backends.gcloud.GoogleCloudStorage"
173170
GS_DEFAULT_ACL = "publicRead"
174171
# [END gaeflex_py_django_static_config]
175-
# [END staticurl]
176172

177173
# Default primary key field type
178174
# https://docs.djangoproject.com/en/stable/ref/settings/#default-auto-field

0 commit comments

Comments
 (0)