Sunday, June 3, 2012

What are the best books and resources for learning to develop, deploy and/or host Django?

I'm a newbie on the Django scene coming from an ASP.NET C# background. I'm looking for some good resources to help me learn the ins and outs of Django/Python. Any recommendations?

Source: Tips4all


  1. Practical Django projects, second edition by James Bennett the release manager of Django

    The book covers building applications, adding features, practical development techniques like using DVCS, automated build deploy tools and there is also a dedicated chapter on reusable development and how to submit to PyPI.

    The book also gives good tips on Python wherever necessary; that way you can develop a good understanding of Python too.

  2. The community is a tremendous
    resource: IRC, Blog Aggregator,
    ProDjango by Marty Alchin is a good book for learning the django internals

    "Learning Python" by O'Reilly

    "Dive into Python" (opensource title) from Apress.
    Videos of talks from DjangoCon or
    Pycon can be streamed as well. And
    the django from the
    ground up series.
    I also understand that "this week in
    django" is being rebranded as
    djangodose, yet still many of the
    podcasts for twid are relevant.
    The rubyonrails podcast is another
    great resource. RoR podcast covers equally relevant topics of interest to both Django and Rails programmers.
    Good blog post on deployment
    Make sure to learn pip, virtualenv, and fabric while you are at it. Indispensable.

  3. The django book for django!

    And the python tutorial for python basics.

  4. Most books will tell you how to deploy to Apache. You can also look into lighttpd and nginx.

    For deployment, you should look into Fabric, a python package that does SSH from your machine to your server.

    Here's my Amazon list of top Django books, for what it's worth. I'm referencing this rather than repeating my comments here. I would point out that Django Templates (not on the list) is a bit of a let down. Not up to the technical quality of the other books.

    People have already pointed you at James Bennett. I'll reiterate that. He has a lot of great material on his website at Highly recommended.

    If you are looking for simple setup and/or support for Django sites, I'd recommend or The former is more hardcore, control your own Unix server slice. The latter is simpler, easier to start up, but not so much control over everything. The former starts at about $20/month for a 256MB slice. The latter is about $10/month.

    Even if you don't use either of these hosts, their websites have awesome tutorials on setting up Django, python, and Apache on Unix boxes.

    I'd also recommend getting a free account to There is a huge community of celebrity Django developers there, and there are lots of projects you can copy to your machine and try out. One of the cool things: you can "follow" other Djaango developers and see what is popping up on the hivemind's radar.

    More information on Fabric.

  5. Certainly the Django documentation is a good resource. I keep getting told to use it and its been helpful most of the time:

  6. I started with Django not so many weeks ago.

    I can recommend to study the source code to the Django site
    itself. It helped me getting started to do real work as
    there was a complete and working example to refer to. It can
    be found at
    A direct download URL for the source code is:
    (ZIP file, 61 KB).

    And it is a good idea to read the first 5 chapters in the
    Django book, starting at

    If you are interested in making a blog then I can recommend
    this blog-entry by James Bennett:
    "Django tips: scaling an application. Let’s build a blog."

  7. ;-)

    Practical django projects

    I also like's Django category and the Django tag on Jeff Croft's blog.

  8. Found Python Web Development with Django by Forcier, Bissex and Chun a great start. 50 pages on python to get you going and all the basics of Django.