Multiple django settings file

In "Django support" section of "Project settings" I have an ability to choose project settings file.


But what it for if both "Django console" tool and django run configuration uses default manage.py that trying to import "settings" module from curent dir and prints error mesage if fault.

I've got 3 settings files for my project (devel_settings.py, local_deploy_settings.py, deploy_sttings.py), may be this is not common use case, but if I have option to choose I must have support for this option.

Of cause I can use dummy settings.py and send "--settings=project.my_settng" to django-admin through manage.py but I don't thik that it's a correct way to solve such problems.

There is need something more complex, some kind of custom manage.py, that will get curent setting module form PyCharm project settings.

Please sign in to leave a comment.