From 81d974042782e7a8560bbf785b5e15d005475070 Mon Sep 17 00:00:00 2001
From: ali afraz
Date: Tue, 12 Sep 2023 14:02:25 +0330
Subject: [PATCH] fix typos (#477)
---
pages/app-deploy/django/object-storage.js | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/pages/app-deploy/django/object-storage.js b/pages/app-deploy/django/object-storage.js
index 3ec2c175..32a04dff 100644
--- a/pages/app-deploy/django/object-storage.js
+++ b/pages/app-deploy/django/object-storage.js
@@ -115,9 +115,9 @@ LIARA_SECRET_KEY=`}
{`LIARA_ENDPOINT="https://storage.iran.liara.space"
-LIARA_BUCKET_NAME="my-personal-files
+LIARA_BUCKET_NAME="my-personal-files"
LIARA_ACCESS_KEY="nad4u71et9dgc3go"
-LIARA_SECRET_KEY="82c963df-1122-4c31-868b-0124a28ad57d""`}
+LIARA_SECRET_KEY="82c963df-1122-4c31-868b-0124a28ad57d"`}
در مرحلهی آخر باید فایل settings.py{" "}
@@ -130,7 +130,7 @@ LIARA_SECRET_KEY="82c963df-1122-4c31-868b-0124a28ad57d""`}
]
# Object storage
-
+# django >= 4.2
STORAGES = {"default": {"BACKEND": "storages.backends.s3boto3.S3Boto3Storage"}}
AWS_S3_ENDPOINT_URL = os.getenv("LIARA_ENDPOINT")
AWS_S3_ACCESS_KEY_ID = os.getenv("LIARA_ACCESS_KEY")