From 4fd83eb96010cb951a2f8542ae4a993ff94eb27b Mon Sep 17 00:00:00 2001 From: chandima2000 Date: Sun, 28 Jul 2024 21:19:53 +0530 Subject: [PATCH] update static root path name --- Prediction/backend/deployment.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Prediction/backend/deployment.py b/Prediction/backend/deployment.py index cdb9884..53af847 100644 --- a/Prediction/backend/deployment.py +++ b/Prediction/backend/deployment.py @@ -1,6 +1,7 @@ import os from .settings import * -from .settings import BASE_DIR + +BASE_DIR = Path(__file__).resolve().parent.parent ALLOWED_HOSTS = [os.environ['WEBSITE_HOSTNAME']]