Skip to content

Commit c68fd4a

Browse files
glasntleahecole
andauthored
Remove deprecated region tag (GoogleCloudPlatform#6505)
Co-authored-by: Leah E. Cole <[email protected]>
1 parent 4dff316 commit c68fd4a

File tree

3 files changed

+0
-6
lines changed

3 files changed

+0
-6
lines changed

appengine/flexible/django_cloudsql/mysite/settings.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,14 +165,12 @@
165165
# Static files (CSS, JavaScript, Images)
166166
# [START staticurl]
167167
# [START gaeflex_py_django_static_config]
168-
# [START gaeflex_py_django_staticconfig]
169168
# Define static storage via django-storages[google]
170169
GS_BUCKET_NAME = env("GS_BUCKET_NAME")
171170
STATIC_URL = "/static/"
172171
DEFAULT_FILE_STORAGE = "storages.backends.gcloud.GoogleCloudStorage"
173172
STATICFILES_STORAGE = "storages.backends.gcloud.GoogleCloudStorage"
174173
GS_DEFAULT_ACL = "publicRead"
175-
# [END gaeflex_py_django_staticconfig]
176174
# [END gaeflex_py_django_static_config]
177175
# [END staticurl]
178176

kubernetes_engine/django_tutorial/mysite/settings.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,12 +108,10 @@
108108

109109
# Static files (CSS, JavaScript, Images)
110110

111-
# [START gke_django_staticconfig]
112111
# [START gke_django_static_config]
113112
STATIC_URL = '/static/'
114113
# STATIC_URL = 'https://storage.googleapis.com/[YOUR_GCS_BUCKET]/static/'
115114
# [END gke_django_static_config]
116-
# [END gke_django_staticconfig]
117115

118116
STATIC_ROOT = 'static/'
119117

run/django/mysite/settings.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,15 +157,13 @@
157157

158158
# Static files (CSS, JavaScript, Images)
159159
# [START cloudrun_django_static_config]
160-
# [START cloudrun_django_staticconfig]
161160
# Define static storage via django-storages[google]
162161
GS_BUCKET_NAME = env("GS_BUCKET_NAME")
163162
STATIC_URL = "/static/"
164163
DEFAULT_FILE_STORAGE = "storages.backends.gcloud.GoogleCloudStorage"
165164
STATICFILES_STORAGE = "storages.backends.gcloud.GoogleCloudStorage"
166165
GS_DEFAULT_ACL = "publicRead"
167166
# [END cloudrun_django_static_config]
168-
# [END cloudrun_django_staticconfig]
169167

170168
# Default primary key field type
171169
# https://docs.djangoproject.com/en/3.2/ref/settings/#default-auto-field

0 commit comments

Comments
 (0)