os.environ.setdefault("DJANGO_SETTINGS_MODULE", "biblio.settings")
where biblio is my main project name
Requested setting DEFAULT_INDEX_TABLESPACE, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.
On Mar 7, 2016 9:37 PM, "Dariusz Mysior" <mysior...@gmail.com> wrote:
>
> When I use Console system it work's using manage shell and next import but in PyCharm Edu 2 in Python Console I have this message like below I wright. In PyCharm Ipython run automaticly I am not using manage shell command. How can I set it in PyCharm?
>
>
https://www.jetbrains.com/pycharm/help/running-tasks-of-manage-py-utility.html