File tree Expand file tree Collapse file tree 3 files changed +0
-6
lines changed
appengine/flexible/django_cloudsql/mysite
kubernetes_engine/django_tutorial/mysite Expand file tree Collapse file tree 3 files changed +0
-6
lines changed Original file line number Diff line number Diff line change 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]
170169GS_BUCKET_NAME = env ("GS_BUCKET_NAME" )
171170STATIC_URL = "/static/"
172171DEFAULT_FILE_STORAGE = "storages.backends.gcloud.GoogleCloudStorage"
173172STATICFILES_STORAGE = "storages.backends.gcloud.GoogleCloudStorage"
174173GS_DEFAULT_ACL = "publicRead"
175- # [END gaeflex_py_django_staticconfig]
176174# [END gaeflex_py_django_static_config]
177175# [END staticurl]
178176
Original file line number Diff line number Diff line change 108108
109109# Static files (CSS, JavaScript, Images)
110110
111- # [START gke_django_staticconfig]
112111# [START gke_django_static_config]
113112STATIC_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
118116STATIC_ROOT = 'static/'
119117
Original file line number Diff line number Diff line change 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]
162161GS_BUCKET_NAME = env ("GS_BUCKET_NAME" )
163162STATIC_URL = "/static/"
164163DEFAULT_FILE_STORAGE = "storages.backends.gcloud.GoogleCloudStorage"
165164STATICFILES_STORAGE = "storages.backends.gcloud.GoogleCloudStorage"
166165GS_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
You can’t perform that action at this time.
0 commit comments