I have a settings module with a default.py for production, and then my localmysql.py overrriding some settings.
This works fine for unit tests and for running django, but not for manage.py tasks nor for the Django console.
I tried the DJANGO_SETTINGS_MODULE environment:
but it has no effect. It still tries to connect to the production server...
I notice in django_manage_shell, PYCHARM_DJANGO_MANAGE_MODULE is referenced, but I could not find any documentation.
How can I tell PyCharm to use settings.localmysql for manage.py and Django console?