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 that trying to import "settings" module from curent dir and prints error mesage if fault.

I've got 3 settings files for my project (,,, 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 and send "--settings=project.my_settng" to django-admin through 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, that will get curent setting module form PyCharm project settings.

Please sign in to leave a comment.