Skip to content

Commit 3137bda

Browse files
authored
Merge pull request #217 from dtinit/GPC/add-sass-processor-path
GCP: add sass processor path
2 parents ebc77a5 + dfb4c8c commit 3137bda

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

testbed/settings/production.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,13 @@
3434
"location": "static",
3535
}
3636
},
37+
"sass_processor": {
38+
"BACKEND": "storages.backends.gcloud.GoogleCloudStorage",
39+
"OPTIONS": {
40+
"bucket_name": GS_BUCKET_NAME,
41+
"location": "static", # Same as staticfiles!
42+
}
43+
}
3744
}
3845

3946
STATIC_URL = f'https://storage.googleapis.com/{GS_BUCKET_NAME}/static/'
@@ -84,4 +91,4 @@
8491
EMAIL_USE_TLS = True
8592
EMAIL_USE_SSL = False
8693
EMAIL_HOST_USER = "[email protected]"
87-
EMAIL_HOST_PASSWORD = env.str('EMAIL_HOST_PASSWORD')
94+
EMAIL_HOST_PASSWORD = env.str('EMAIL_HOST_PASSWORD')

0 commit comments

Comments
 (0)