Start reading Practical Django Projects on your Kindle in under a minute. Don't have a Kindle? Get your Kindle here or start reading now with a free Kindle Reading App.

Deliver to your Kindle or other device


Try it free

Sample the beginning of this book for free

Deliver to your Kindle or other device

Sorry, this item is not available in
Image not available for
Image not available

Practical Django Projects (Expert's Voice in Web Development) [Kindle Edition]

James Bennett
4.0 out of 5 stars  See all reviews (4 customer reviews)

Print List Price: £35.50
Kindle Price: £33.72 includes VAT* & free wireless delivery via Amazon Whispernet
You Save: £1.78 (5%)
* Unlike print books, digital books are subject to VAT.

Free Kindle Reading App Anybody can read Kindle books—even without a Kindle device—with the FREE Kindle app for smartphones, tablets and computers.

To get the free app, enter your e-mail address or mobile phone number.


Amazon Price New from Used from
Kindle Edition £33.72  
Paperback £35.50  
Kindle Daily Deal
Kindle Daily Deal: Up to 70% off
Each day we unveil a new book deal at a specially discounted price--for that day only. Learn more about the Kindle Daily Deal or sign up for the Kindle Daily Deal Newsletter to receive free e-mail notifications about each day's deal.

Book Description

Build a Django content management system, blog, and social networking site with James Bennett as he introduces version 1.1 of the popular Django framework.

You’ll work through the development of each project, implementing and running the applications while learning new features along the way.

Web frameworks are playing a major role in the creation of today’s most compelling web applications, because they automate many of the tedious tasks, allowing developers to instead focus on providing users with creative and powerful features. Python developers have been particularly fortunate in this area, having been able to take advantage of Django, a very popular open-source web framework whose stated goal is to "make it easier to build better web applications more quickly with less code."

Practical Django Projects introduces this popular framework by way of a series of real–world projects. Readers follow along with the development of each project, implementing and running each application while learning new features along the way. This edition is updated for Django 1.1 and includes an all-new chapter covering practical development tools and techniques you'll be able to apply to your own development workflow.

What you’ll learn

  • Capitalize upon the well–defined and stable framework architecture of Django 1.1 to build web applications faster than ever before

  • Learn by doing by working through the creation of three real–world projects, including a content management system, blog, and social networking site

  • Build user–friendly web sites with well–structured URLs, session tracking, and syndication options

  • Let Django handle tedious tasks such as database interaction while you focus on building compelling applications

Who this book is for

Web developers seeking to use the powerful Django framework to build powerful web sites.

Table of Contents

  1. Welcome to Django

  2. Your First Django Site: A Simple CMS

  3. Customizing the Simple CMS

  4. A Django-Powered Weblog

  5. Expanding the Weblog

  6. Templates for the Weblog

  7. Finishing the Weblog

  8. A Social Code-Sharing Site

  9. Form Processing in the Code-Sharing Application

  10. Finishing the Code-Sharing Applications

  11. Practical Development Techniques

  12. Writing Reusable Django Applications

Customers Who Viewed This Item Also Viewed

Page of Start over
This shopping feature will continue to load items. In order to navigate out of this carousel please use your heading shortcut key to navigate to the next or previous heading.

Product Description

About the Author

James Bennett is a web developer for the World Company of Lawrence, Kansas, and is a major contributor to the Django project. His current role within the Django community is as the software project's release manager.

Product details

  • Format: Kindle Edition
  • File Size: 2323 KB
  • Print Length: 272 pages
  • Publisher: Apress; 2nd ed. 2009 edition (22 Jun. 2009)
  • Sold by: Amazon Media EU S.à r.l.
  • Language: English
  • ASIN: B002ECESU0
  • Text-to-Speech: Enabled
  • X-Ray:
  • Word Wise: Not Enabled
  • : Not Enabled
  • Average Customer Review: 4.0 out of 5 stars  See all reviews (4 customer reviews)
  • Amazon Bestsellers Rank: #703,507 Paid in Kindle Store (See Top 100 Paid in Kindle Store)
  •  Would you like to give feedback on images?

More About the Author

Discover books, learn about writers, and more.

What Other Items Do Customers Buy After Viewing This Item?

Customer Reviews

4.0 out of 5 stars
4.0 out of 5 stars
Most Helpful Customer Reviews
2 of 2 people found the following review helpful
4.0 out of 5 stars Does what it says on the tin 3 Sept. 2010
If you're just starting out learning Django, there are some bumps in the learning curve, so this isn't an introduction. If you've been tinkering with Django and want to make something usable, this (the 2nd edition) is the book. Django is backward-compatible from version 1.0 on, so this (for Django 1.1) is as future-proof as possible. As for the missing code - much of it is on Bitbucket (Ubernostrum is his tag there) and Australian Brett Haydon (search for his name and the book title) has a great blog that corrects the typos and offers further information.

My copy is well-thumbed and has been a familiar companion on my Django journey - in fact, I'm using the very blog from the book to write up every stage of the Django learning process. One star missing for the lack of follow-up, four stars for some really usable applications and very sound advice. Bennett is on the Django team, so he knows his stuff, and the Django entries on his own blog act as an unofficial supplement to the book.
Comment | 
Was this review helpful to you?
1 of 1 people found the following review helpful
In terms of web frameworks this book is getting on a bit now; the second edition was updated for Django 1.1, and 1.3 has been out for some time (January 2012). However I have found it to be an absolutely excellent resource for learning Django. James Bennett has given just enough examples and explanation, and if you work along with a Django IDE it's very educative and quite fun working out the few errors in the text and the source code (which is available online, you just need to use Mercurial to get it). I found pyCharm to be excellent, other people get some mileage from Komodo, PyDev or Aptana Studio etc.
There are other Django texts which have much more reference content, this one assumes you'll find it online. Bennett cuts right to the chase with the best practical workouts, and if you follow them through this is your fast on-ramp to using Django.
Comment | 
Was this review helpful to you?
5.0 out of 5 stars Great book 6 Feb. 2013
By dmarcos
Format:Paperback|Verified Purchase
Still haven't the chance to putt my hands on it, once i have bean working a lot.

But for the few chapters i have read it looks great
Comment | 
Was this review helpful to you?
0 of 3 people found the following review helpful
This could have been a 4 or even 5 star product but is let down badly by the authors failure to supply a downloadable version of the example projects source code.

The example projects contain mistakes, are tedious to enter and even more tedious to debug. There is some source code available for download but (at the time of writing) it's incomplete. So I found I had to give up half way through after wasting nearly a week trying to complete the weblog project.

I hate to be a quitter but I'm afraid try as I might, this book beat me.

I also bought - The Definitive Guide to Django - which is an excellent introduction to the subject and heartily recommended.
Was this review helpful to you?
Most Helpful Customer Reviews on (beta) 3.2 out of 5 stars  16 reviews
27 of 28 people found the following review helpful
3.0 out of 5 stars References to source code that isn't there. 28 Sept. 2009
By Danilo Gurovich - Published on
Format:Paperback|Verified Purchase
This book would totally be 5 stars if the source code was there. It really lays out how to work with Django and understand best practices, but if you're a "code-along-with-the-book" kind of person, you're going to be SEVERELY disappointed since there's no source code to check against the book, not anywhere.

This lack of source code would be excusable if this was a fresh title and there seemed to be an effort to get the source code out, but after searching the blogs and finding an excuse by the author over a year back saying "I have a day job", well that's just inexcusable. I'd almost give it two stars for the excuse, but the content of the book itself is very good, except for the thirty or so references to "getting to source code from the Apress site". Shame on Apress.

This book sits on my shelf as a reference for best practices and a collection of white papers for extending my projects, but I would consider this a third choice. If you're already comfortable with django and "get" everything that's going on, go for this book. If you're still a little "noob-ish" on the topic, move on.
7 of 7 people found the following review helpful
3.0 out of 5 stars Incomplete 28 Sept. 2009
By C. Young - Published on
Format:Paperback|Verified Purchase
I like the Django framework a lot, and really wanted to like this book, but I'm afraid it was pushed to market long before it was ready.

There are several cases in the book where I feel the author introduces something, but leaves off pertinent information required to override Django defaults and get what he suggested to work (e.g. using the numerical representation for months in a URL rather than the three-digit representation).

Also, there are many places in the book where the author is describing code, but doesn't state very clearly where the code should go.

Finally, the author refers to the book's accompanying source code, but that source code doesn't exist. The publisher told me a month ago that they've been in contact with the author, and that the source code will be available "shortly," but it is still unavailable. How many months has the book been out?

On the plus side, I think the author's projects are useful, and with the exception of his use of Markdown for submitting blog entries (in my opinion, he should have showed the use of TinyMCE there as well), well thought out. I also think the author does a good job of introducing the reader to a wide range of Django knowledge.

I'm taking one star away for the lack of clarity in several areas, and one away for the missing source code. If the publisher had fixed the ambiguities, missing information, and had the source code available prior to release, this could easily have been a five-star book for learning Django.
13 of 15 people found the following review helpful
5.0 out of 5 stars Excellent entry book with advanced best practices 13 July 2009
By Hugh D. Brown - Published on
Format:Paperback|Verified Purchase
I resisted reading the first edition because it came out just shortly before Django 1.0. As a result, the code samples were not fully usable with the latest Django codebase.

The second edition does not suffer from this problem. The code matches development version 1.1. It also has a number of helpful additions: material on current version control (git, mercurial, and subversion), pip (for installing packages), virtualenv (for isolating different development environments), fabric (for repeatable releases to servers), and unit testing.

The text covers the development of two projects: a CMS and a code-sharing site. It has excellent examples of managers (a topic I have not seen covered in other Django books), templatetags, installable packages (markdown, comments, akismet for anti-spamming, pygments for color code, tinymce for rich text-editing, pydelicious, registration), and native packages (RSS feeds, flatpages, auth), plus all the usual topics: urls, models, views, forms, and templates. The text is very strong on using generic views.

The writing is excellent and flows logically. It's a pleasure to read.
4 of 4 people found the following review helpful
3.0 out of 5 stars it would be perfect if the code was there 21 Jan. 2010
By M. Morgan - Published on
Format:Paperback|Verified Purchase
It would be an awesome book, if only the code was there as promised.

OK: the code for the last project, "cab" which is a code sharing site is not on bitbucket or elsewhere. It is a little frustrating that the code isn't there. This seems like it would have been pretty minimal effort for an author or technical editor, but it's amazing how much it will slow down a novice.

because of that, I bumped my review down to 4 stars.

I know they are trying to rush these titles out to print, but don't say you're going to publish the code if you're not.

Even so, it's a great book.

A good book with working full code is Django 1.0 Website Development
3 of 3 people found the following review helpful
5.0 out of 5 stars Five stars if you're new to Django 23 Feb. 2010
By Amazon Customer - Published on
Format:Paperback|Verified Purchase
In my experience, the purpose of this book is extremely unusual in programming books. Most of them are either an introduction to the topic, or a reference book like a 'cookbook' or what basically amounts to a printed version of the online documentation. Those books get the job done for people with a project (or an employment position) in mind. They learn what they need to do to use the technology, then they get to work. We should all know by now that reading a book doesn't actually teach you anything -- you have to go out and actually apply that knowledge to really "know" the technology.

But what if you want to learn to use Django, but don't have a project in mind? How cool would it be if one of the core Django developers created a couple of fully-functional applications, step-by-step, and let you follow along? That's exactly what James Bennett has done here. You can literally be brand-new to Django and finish this book having written multiple Django applications, learning all the major functionality of Django along the way, and even implementing best-practices for creating reusable applications.

If you've been working with Django for any length of time, a lot of this book will feel like review, because it does explain templates, views, URLs, models, and the MTV concept. However, there's a lot in here for you as well.

Here are some of the cool things in this book that you don't find in any of the standard documentation sources:

* How to (easily) integrate a rich-text editor into the Django admin interface
* Use third-party modules such as pygment, the Delicious API, and Akismet spam-blocking
* In-depth examples of creating custom template tags
* Complete examples of integrating django.contrib applications (such as comments and feeds)
* Notes on version control, distributing apps, building and deploying apps

All that and more, plus this is probably the definitive guide to writing your Django applications to be reusable.

In conclusion, if you're brand-new to Django and want a yellow-brick road to walk down, here it is. If you're an experienced Django programmer, you don't need this book, but I practically guarantee you'd learn a couple of things you didn't know. If you are new to Django, however, I highly recommend that once you finish this book you read The Definitive Guide to Django: Web Development Done Right, Second Edition cover-to-cover once you finish this book. It will fill in all the gaps and you'll really be able to do pretty much anything in Django.
Were these reviews helpful?   Let us know
Search Customer Reviews
Only search this product's reviews

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
First post:
Prompts for sign-in

Search Customer Discussions
Search all Amazon discussions

Look for similar items by category