Django shell in PyCharm 4 (EAP)

How do I start a django shell in 4.0?  Is it done via "Run Task" (shell)?

If so, how do I configure the working directory or the python path for the shell?  Because right now, if I start the shell, I can't import any of my modules because the path isn't right.  

From the shell:
In[7]: sys.path
['C:\\Program Files (x86)\\JetBrains\\PyCharm 139.354\\helpers\\pydev',
 'C:\\Program Files (x86)\\JetBrains\\PyCharm 139.354\\helpers\\pycharm',
 'C:\\Program Files (x86)\\JetBrains\\PyCharm 139.354\\helpers\\pydev']

'C:\projects\portal_git_ssh' is the project directory, but the source root (where is) is at  'C:\\projects\\portal_git_ssh\portal\src'.  So how do I set that for the shell?


Please sign in to leave a comment.