The following is the structure of my project
webapp_root
├── app_one
│ └──main.py
└── webapp_dir
└── settings.py
└── urls.py
└── wsgi.py
└── asgi.py
I'm trying to import specific variables from settings.py
into main.py
in the other directory. This works fine locally, and when I manually run the script via a button in my web app. But when I set this up as a scheduled task, it crashes and says it can't find a module called webapp_dir? Is there a specific way I have to import it with this file structure? Thank you