Fix PYTHONPATH to load flat modules like pxy_city_digital_twins
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
115a3d1637
commit
c143a0bd9e
@ -8,6 +8,10 @@ load_dotenv()
|
||||
BASE_DIR = Path(__file__).resolve().parent.parent
|
||||
BASE_URL = "https://app.polisplexity.tech"
|
||||
|
||||
import sys
|
||||
sys.path.append(str(BASE_DIR))
|
||||
|
||||
|
||||
# Core security settings
|
||||
SECRET_KEY = os.getenv("SECRET_KEY")
|
||||
DEBUG = os.getenv("DEBUG", "False") == "True"
|
||||
|
Loading…
x
Reference in New Issue
Block a user