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?

W dniu poniedziałek, 7 marca 2016 20:34:42 UTC+1 użytkownik Dariusz Mysior 
napisał:
>
> I use Django 1.8 Python 3.4.3 and I have problem when i go to Ipython or 
> Python and I try use command from contact.forms import MessageForm2 I have 
> a error like below. I add that in wsgi.py and manage.py I have line 
>
> 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.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/e8031416-afff-4118-8a07-2c706b3bdec0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to