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 165
165
# Static files (CSS, JavaScript, Images)
166
166
# [START staticurl]
167
167
# [START gaeflex_py_django_static_config]
168
- # [START gaeflex_py_django_staticconfig]
169
168
# Define static storage via django-storages[google]
170
169
GS_BUCKET_NAME = env ("GS_BUCKET_NAME" )
171
170
STATIC_URL = "/static/"
172
171
DEFAULT_FILE_STORAGE = "storages.backends.gcloud.GoogleCloudStorage"
173
172
STATICFILES_STORAGE = "storages.backends.gcloud.GoogleCloudStorage"
174
173
GS_DEFAULT_ACL = "publicRead"
175
- # [END gaeflex_py_django_staticconfig]
176
174
# [END gaeflex_py_django_static_config]
177
175
# [END staticurl]
178
176
Original file line number Diff line number Diff line change 108
108
109
109
# Static files (CSS, JavaScript, Images)
110
110
111
- # [START gke_django_staticconfig]
112
111
# [START gke_django_static_config]
113
112
STATIC_URL = '/static/'
114
113
# STATIC_URL = 'https://storage.googleapis.com/[YOUR_GCS_BUCKET]/static/'
115
114
# [END gke_django_static_config]
116
- # [END gke_django_staticconfig]
117
115
118
116
STATIC_ROOT = 'static/'
119
117
Original file line number Diff line number Diff line change 157
157
158
158
# Static files (CSS, JavaScript, Images)
159
159
# [START cloudrun_django_static_config]
160
- # [START cloudrun_django_staticconfig]
161
160
# Define static storage via django-storages[google]
162
161
GS_BUCKET_NAME = env ("GS_BUCKET_NAME" )
163
162
STATIC_URL = "/static/"
164
163
DEFAULT_FILE_STORAGE = "storages.backends.gcloud.GoogleCloudStorage"
165
164
STATICFILES_STORAGE = "storages.backends.gcloud.GoogleCloudStorage"
166
165
GS_DEFAULT_ACL = "publicRead"
167
166
# [END cloudrun_django_static_config]
168
- # [END cloudrun_django_staticconfig]
169
167
170
168
# Default primary key field type
171
169
# https://docs.djangoproject.com/en/3.2/ref/settings/#default-auto-field
You can’t perform that action at this time.
0 commit comments