Skip to content

Commit d53bffe

Browse files
committed
try another environment variable for GCP
1 parent a4c646c commit d53bffe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dertown/settings/production.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
DEFAULT_FILE_STORAGE = "storages.backends.gcloud.GoogleCloudStorage"
3838
GS_BUCKET_NAME = os.environ["GS_BUCKET_NAME"]
3939

40-
GOOGLE_APPLICATION_CREDENTIALS = service_account.Credentials.from_service_account_file(
40+
GOOGLE_APPLICATION_CREDENTIALS_JSON = service_account.Credentials.from_service_account_file(
4141
os.environ["GS_CREDENTIALS_FILE"]
4242
)
4343
MEDIA_URL = f"https://storage.googleapis.com/{GS_BUCKET_NAME}/"

0 commit comments

Comments
 (0)