How to configure Django/Tornado in PyCharm Community Edition

I think, Pycharm is THE best IDE for developing python. But unfortunately, the professional edition is not free. But community edition is good enough for doing debugging, integrating GIT etc. Normally its easy to use the community edition for django and tornado's debugging/running if you know how to configure. Django For django's configuration, there is 5 easy steps: First: Go to edit configuration and click on it(like the below pictures). Second: Click on the (+) mark in top-left corner and add python configuration. Third: Click on the Script, and…

Keep reading

Using IntellijIdea Within An Exisiting Virtualenv

To add virtual environment to Intellij Idea, You have added virtualenv folder's python to project sdk. Which means that virtualenv directory's python( for example venv/bin/python2.7) needs to be added to Intellij Idea project path. Here is a demonstration: First you need to go to file>project structure (in IntellijIdea) Press new in Project SDK and add new path to virtualenv's python directory like this: Go to Modules>Dependencies and set your module sdk to Python SDK which is marked on this picture: Now press ok and final…

Keep reading