1👍
✅
At the very least you need to have the configuration of your database defined. That’s normally handled using an environment variable called DJANGO_SETTINGS_MODULE pointing to your django project settings model
However you can also use settings without setting DJANGO_SETTINGS_MODULE
Source:stackexchange.com