Fix PYTHONPATH to load flat modules like pxy_city_digital_twins
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Ekaropolus 2025-05-13 02:59:44 -06:00
parent 115a3d1637
commit c143a0bd9e

View File

@ -8,6 +8,10 @@ load_dotenv()
BASE_DIR = Path(__file__).resolve().parent.parent BASE_DIR = Path(__file__).resolve().parent.parent
BASE_URL = "https://app.polisplexity.tech" BASE_URL = "https://app.polisplexity.tech"
import sys
sys.path.append(str(BASE_DIR))
# Core security settings # Core security settings
SECRET_KEY = os.getenv("SECRET_KEY") SECRET_KEY = os.getenv("SECRET_KEY")
DEBUG = os.getenv("DEBUG", "False") == "True" DEBUG = os.getenv("DEBUG", "False") == "True"