Django development IDE

217,846

Solution 1

I use Eclipse and a plain vanilla PyDev. There isn't any specific Django functionality. The best I came up with was setting up a run profile to run the development web server.

If you add the web tools project (WTP), you'll get syntax highlighting in your templates, but nothing that relates to the specific template language. PyDev is a decent plugin, and if you are already familiar with Eclipse and use it for other projects it is a good way to go.

I recall NetBeans starting to get Python support, but I have no idea where that is right now. Lots of people rave about NetBeans 6, but in the Java world Eclipse still reigns as the king of the OSS IDEs.

Update: LiClipse is also fantastic for Django.
enter image description here
Install it, use this method to get the icon into Ubuntu's menu. Start LiClipse and in File > New > Project ..., select PyDev and PyDev Django project. You may have to set up your Python interpreter etc, but that you'll be able to figure out on your own. Once the Django project is created, you can right click on the project and the menu will have a "Django" option, which allows various things like creating a Django app or running migrations etc. LiClipse is good because it consumes far lesser memory than PyCharm and supports refactoring and autocomplete reasonably well.

Solution 2

There is PyCharm from JetBrains which supports Django and Google Apps. It looks promising.

Note: You need to buy a license for the Professional version if you want Django support. The Community version desn't support Django.

Solution 3

I use Vim:

http://github.com/skyl/vim-config-python-ide

[UPDATE]

Sublime Text 2 is pretty awesome. It supports a lot of Vim commands if you want them: Vintage Mode

It has a nice package manager: http://wbond.net/sublime_packages/package_control

I use these packages so far:

Djaneiro

SetDjangoSyntax

CoffeeScript

SublimeLinter

Theme - Soda

SideBarEnhancements

I still love Vim but ... did I mention that Sublime Text plugins are written in Python?

Solution 4

I use Komodo Edit. Check out the Open Komodo Edit.

Solution 5

Sublime

sub

Share:
217,846

Related videos on Youtube

Adam Carr
Author by

Adam Carr

Updated on April 08, 2021

Comments

  • Adam Carr
    Adam Carr about 3 years

    I have done a little Django development, but it has all been in a text editor. I was curious what more advanced development tools others are using in their Django development.

    I am used to using Visual Studio for development and really like the IntelliSense, code completion, and file organization it provides and would like to find something (or a combination of tools) that would provide some of this in the Django/Python environment.

    • Skylar Saveland
      Skylar Saveland over 14 years
      maybe this should be a community wiki?
    • juanefren
      juanefren about 14 years
      PyDev 1.5.6 claims to have django integration
    • Zsolt Török
      Zsolt Török almost 14 years
      @juanefren Yes, the latest PyDev release has Django support, and it's actually quite usable: pydev.org/manual_adv_django.html
    • juanefren
      juanefren almost 14 years
      @zsolt-torok I tried about 2 months ago and like it very much. But I still prefer gedit simplicity (with some plugins).
    • Vegar Westerlund
      Vegar Westerlund about 13 years
      There is a wiki for this: wiki.python.org/moin/PythonEditors
    • eusid
      eusid almost 12 years
      PyCharm +! great functionality. makes coding much faster, less references docs to find functions and methods from modules. template support. error highlighting. just be sure in settings you check django. with a plugin downloader it even has a DB navigator.
    • Amandeep Dhiman
      Amandeep Dhiman over 7 years
      Is Visual studio 2015 better than pycharm ?
  • Sridhar Ratnakumar
    Sridhar Ratnakumar over 14 years
  • Skylar Saveland
    Skylar Saveland over 14 years
    vim's omnicompletion is pretty good.
  • Wernight
    Wernight over 14 years
    IntelliJ Python plugin seem to be only available in the Ultimate edition.
  • Kugel
    Kugel about 14 years
    intellisense is M$ word for code completion
  • heyman
    heyman about 14 years
    As for me being an emacs guy, I can say that I really like Wing IDE's mimicking of emacs' key bindings. Keyboard macros work, and you can even use many common M-x commands.
  • imns
    imns over 13 years
    Another vote for this. It works on Linux and Windows, plus it's free.
  • Radek
    Radek over 13 years
    PyCharm has now been released in a stable version. The integrated Django and Python shells work well and autocomplete works like a charm (PyCharm after all ;). Unfortunately, do not expect autocomplete from your templates yet.
  • jaketrent
    jaketrent over 13 years
    I'm using Pycharm 1.0.1 and loving it, complete with Django template intellisense.
  • bdd
    bdd over 13 years
    I've been loving pycharm so far. 1.0 is a great start, but certainly not a full featured suite yet.
  • airstrike
    airstrike about 13 years
    +1, and now pydev.org now touts django support as one of its features
  • Bryce
    Bryce over 12 years
    ++ on PyCharm. The only disappointment is lack of auto-complete in templates.
  • Skylar Saveland
    Skylar Saveland about 12 years
    pardon the overly-optimistic readme ... it was basically just my .vimrc and config.
  • Filip Dupanović
    Filip Dupanović about 12 years
    Yup, throw in a plugin here and there and it's a perfect environment for Django development.
  • przemo_li
    przemo_li over 11 years
    vim can also have plugins in Python :P
  • Skylar Saveland
    Skylar Saveland over 11 years
    good call, @przemo_li :D
  • Lukasz Koziara
    Lukasz Koziara about 11 years
    New PyCharm is now available with lot of useful changes/new features: blog.jetbrains.com/pycharm/2013/02/…
  • Philip007
    Philip007 almost 11 years
    A few handy plugins: Djanerio for autocompletion, Django DocSearch for doc search (option-shift-D)
  • Wingware
    Wingware almost 11 years
    Note that Wing 5 (currently in beta) no longer requires X11 on OS X and should look less dorky (or hopefully entirely non-dorky ;-).
  • user
    user over 10 years
    ST2 is awesome but no match for Pycharm. However for various reasons people prefer ST2 (light, extensible) so here's a list of useful plugins for ST2+django/python to get it going : stackoverflow.com/q/18914386/781695
  • Salvatorelab
    Salvatorelab over 10 years
    PyCharm is really complete. Recommended. The bad news is that you need a license to use it...
  • airstrike
    airstrike over 10 years
    "Now" as in April 29th, 2011 as per the timestamp.
  • Syler
    Syler over 10 years
    the community edition does not support django, you have to get the professional edition :(
  • Neil
    Neil over 9 years
    Sublime + predawn theme is really nice jamiewilson.io/predawn
  • Bezewy
    Bezewy almost 9 years
    Concerning the previous comment, I'm currently using the community edition to test/debug my Django model and it works great.
  • Ariel
    Ariel almost 9 years
    For those looking for a free/open source solution, GitHub's Atom or Adobe's Brackets may be interesting alternatives to Sublime.
  • dcgoss
    dcgoss over 8 years
    JetBrains now has an education program, where students doing noncommercial development can use all of their professional tools for free for a year (pretty sure this can be renewed, however). A great way to get a taste before you buy the full license. jetbrains.com/student
  • Homunculus Reticulli
    Homunculus Reticulli over 7 years
    Komodo is no longer free
  • Peter Mortensen
    Peter Mortensen over 6 years
    The link is broken. Google Code closed down.
  • amdev
    amdev over 6 years
    Can you refactor with sublimetext ? It's not an IDE ..
  • Mackie Messer
    Mackie Messer over 6 years
    I'm a big fan of Eclipse + PyDev. Works great with Django. in fact, Django projects are offered as a project type when creating something from scratch.
  • Nav
    Nav about 3 years
    Even I used Netbeans until I found LiClipse: nrecursions.blogspot.com/2019/03/…