Feature Spotlight: Creating and managing Django projects

Happy Friday everyone,

PyCharm is known for its superior support of the Django web framework. It’s been supported since the inception of PyCharm, and with each release we improve it by polishing the existing features and adding new ones.

With the latest PyCharm 4.5 release, we’ve improved Django 1.8 code insight and added a big new feature: the manage.py console.

This new tool introduces a new user interface and provides autocompletion for manage.py tasks and their arguments. The manage.py console also preserves the command history so you can easily fetch previous commands just by pressing Up / Down arrows. Quick documentation is also supported by pressing Ctrl+Q on a manage.py command.

Note: Django support is available only in PyCharm Professional Edition.

Given the number of big and small changes to Django support, recently we updated our main Creating and managing Django projects tutorial. Do check it out if you are migrating to PyCharm as a new development environment and want to get used to its basics. Or if you just want to revisit the whole picture of Django development with PyCharm.

Talk to you soon,

About Dmitry Filippov

Product Marketing Manager at JetBrains
This entry was posted in Cool Feature, Tutorial. Bookmark the permalink.

9 Responses to Feature Spotlight: Creating and managing Django projects

  1. radium says:

    Will it work if I use docker? Because in that case I should run these commands inside a docker container.

  2. I haven’t had the opportunity to try it out yet, but how does PyCharm cope with DjangoCMS projects? If I create a regular Django project and do DjangoCMS stuff within it, will I run into roadblocks? Would I be better off just treating it like a standard Python project?

    Also, to Bed Pad: Using ZEND means using PHP. Almost anything else is preferable. The things PHP lets people do to code… it’s horrific!

    • Dmitry Filippov says:

      You can open already existing Django/DjangoCMS project or create a new one either a pure Python or Django project.
      In PyCharm’s settings you can enable/disable Django support for your project.

  3. John says:

    Hi Dmitry,
    I’ve just tried to work through the “Creating and managing Django projects” guide.

    The following error occurs at the “Launching the Django server” step:
    django.core.exceptions.ImproperlyConfigured: Application labels aren’t unique, duplicates: admin

    References on the web suggest this is a naming problem.

    Does the guide need to be updated with this? Or am I simply making a mistake somewhere?

    Appreciate your thoughts.
    Many thanks,

    (Python 2.7; Django 1.8.4)

  4. John says:

    Hi Dmitry,

    There seems to be an error in PyCharm.
    “django.contrib.admin” is inserting twice into settings.py – see below. Upon removing the duplicate the app runs as expected. This present after django project creation.


    PyCharm 4.5.4
    Build: #PY-141.2569, built on August 28, 2015.


  5. Allan Elder says:


    Has the tutorial been moved again?

    The link in the blog now takes us to the Quick Start Guide….

    • Dmitry Filippov says:

      Yes, it has been moved from the website to our online help. Thanks for pointing this out. I’ve changed the link.

Leave a Reply

Your email address will not be published. Required fields are marked *