Django Shell Disabled?

Do I have to do anything special to enable the Django shell support?  It is grayed out in my Tools menu.

For what it's worth, my Django project has a pretty non-traditional layout using Virtualenv and Buildout.

3 comments

Hello Joe,

Do I have to do anything special to enable the Django shell support?

It is grayed out in my Tools menu.

For what it's worth, my Django project has a pretty non-traditional

layout using Virtualenv and Buildout.

You need to make sure the Django integration is enabled in Settings | Django

Integration.

--

Dmitry Jemerov

Development Lead

JetBrains, Inc.

http://www.jetbrains.com/

"Develop with Pleasure!"

0

Thanks, Dmitry,

Django support is enabled, but mine is not a "true" Django project.  So throughout PyCharm right now I'm getting partial Django support, just not some of the goodies like navigating to templates from views, etc.

So the Django Shell menu item is there, just not enabled.  (When a co-worker had the Django Support checkbox unchecked, the Django Shell menu item didn't appear at all, as expected.)

Thanks for your help.  PyCharm is coming together nicely.  Great work, as always.

0

Django console is visible only inside Django enabled projects and you can run it only if correct python interpreter with Django support selected.

Regards,

Oleg

0

Please sign in to leave a comment.