Join Amazon Prime and ship Two-Day for free and Overnight for $3.99. Already a member? Sign in.

 

or
Sign in to turn on 1-Click ordering.
 
 
More Buying Choices
59 used & new from $2.42

Have one to sell? Sell yours here
 
   
The Definitive Guide to Django: Web Development Done Right
 
 
Tell the Publisher!
I’d like to read this book on Kindle

Don’t have a Kindle? Get yours here.
 
  

The Definitive Guide to Django: Web Development Done Right (Paperback)

by Adrian Holovaty (Author), Jacob Kaplan-Moss (Author)
Key Phrases: views urlpatterns, custom template tags, syndication framework, What's Next, Apress Publishing, Returns True (more...)
4.2 out of 5 stars See all reviews (23 customer reviews)

List Price: $44.99
Price: $26.58 & this item ships for FREE with Super Saver Shipping. Details
You Save: $18.41 (41%)
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.

Want it delivered Tuesday, July 14? Choose One-Day Shipping at checkout. Details
34 new from $4.23 25 used from $2.42
Also Available in: List Price: Our Price: Other Offers:
Hardcover Order it used!
Paperback (2) $44.99 $29.69 20 used & new from $28.21
There is a newer edition of this item:
The Definitive Guide to Django: Web Development Done Right, Second Edition The Definitive Guide to Django: Web Development Done Right, Second Edition 4.2 out of 5 stars (23)
$29.69
In Stock.

Frequently Bought Together

The Definitive Guide to Django: Web Development Done Right + Practical Django Projects (Pratical Projects) + Learning Website Development with Django: A beginner's tutorial to building web applications, quickly and cleanly, with the Django application framework (From Technologies to Solutions)

Customers Who Bought This Item Also Bought

Learning Python, 3rd Edition

Learning Python, 3rd Edition

by Mark Lutz
3.9 out of 5 stars (137)  $26.39
Programming Collective Intelligence: Building Smart Web 2.0 Applications

Programming Collective Intelligence: Building Smart Web 2.0 Applications

by Toby Segaran
4.5 out of 5 stars (48)  $26.39
Python Cookbook

Python Cookbook

by Alex Martelli
4.3 out of 5 stars (42)  $32.97
Python in a Nutshell, Second Edition (In a Nutshell (O'Reilly))

Python in a Nutshell, Second Edition (In a Nutshell (O'Reilly))

by Alex Martelli
4.5 out of 5 stars (40)  $26.39
Learning Website Development with Django: A beginner's tutorial to building web applications, quickly and cleanly, with the Django application framework (From Technologies to Solutions)

Learning Website Development with Django: A beginner's tutorial to building web applications, quickly and cleanly, with the Django application framework (From Technologies to Solutions)

by Ayman Hourieh
4.3 out of 5 stars (10)  $35.99
Explore similar items

Editorial Reviews

Product Description

Django, the Python–based equivalent to the Ruby on Rails web development framework, is presently one of the hottest topics in web development today. In The Definitive Guide to Django: Web Development Done Right, Adrian Holovaty, one of Django’s creators, and Django lead developer Jacob Kaplan–Moss show you how they use this framework to create award–winning web sites. Over the course of three parts, they guide you through the creation of a web application reminiscent of chicagocrime.org.

The first part of the book introduces Django fundamentals like installation and configuration. You’ll learn about creating the components that power a Django–driven web site. The second part delves into the more sophisticated features of Django, like outputting non–HTML content (such as RSS feeds and PDFs), plus caching and user management. The third part serves as a detailed reference to Django’s many configuration options and commands. The book even includes seven appendixes for looking up configurations options and commands. In all, this book provides the ultimate tutorial and reference to the popular Django framework.



About the Author
Adrian Holovaty, a web developer/journalist, is one of the creators and core developers of Django. He works at washingtonpost.com, where he builds database web applications and does "journalism as computer programming." Previously, he was lead developer for World Online in Lawrence, Kansas, where Django was created.

When not working on Django improvements, Adrian hacks on side projects for the public good, such as chicagocrime.org, which won the 2005 Batten Award for Innovations in Journalism. He lives in Chicago and maintains a weblog at www.Holovaty.com.



Jacob Kaplan-Moss is one of the lead developers of Django. At his day job, he's the lead developer for the Lawrence Journal-World, a locally owned newspaper in Lawrence, Kansas, where Django was developed. At the Journal-World, Jacob hacks on a number of sites including lawrence.com, LJWorld.com, and KUsports.com, and he is continually embarrassed by the multitude of media awards those sites win. In his spare time&emdash;what little of it there is&emdash;he fancies himself a chef.

Product Details

  • Paperback: 447 pages
  • Publisher: Apress (December 6, 2007)
  • Language: English
  • ISBN-10: 1590597257
  • ISBN-13: 978-1590597255
  • Product Dimensions: 9.1 x 7 x 1 inches
  • Shipping Weight: 1.7 pounds (View shipping rates and policies)
  • Average Customer Review: 4.2 out of 5 stars See all reviews (23 customer reviews)
  • Amazon.com Sales Rank: #180,738 in Books (See Bestsellers in Books)

Inside This Book (learn more)

Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
Check the boxes next to the tags you consider relevant or enter your own tags in the field below.
(40)
(36)
(11)
(8)

Your tags: Add your first tag
 
Help others find this product — tag it for Amazon search
No one has tagged this product for Amazon search yet. Why not be the first to suggest a search for which it should appear?

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

 

Customer Reviews

23 Reviews
5 star:
 (12)
4 star:
 (5)
3 star:
 (5)
2 star:    (0)
1 star:
 (1)
 
 
 
 
 
Average Customer Review
4.2 out of 5 stars (23 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
19 of 19 people found the following review helpful:
3.0 out of 5 stars A solid introduction, lacking in examples, February 22, 2008
By James Stewart (Grand Rapids, MI, USA) - See all my reviews
(REAL NAME)   
Django is a framework I've long (in web years) held in some esteem, despite never having used it before the past few weeks. The framework's creators' many well reasoned contributions on all manner of debates about the web suggested a thoughtful approach, and the range of high quality sites powered by Django has kept growing, with the recent launch of EveryBlock being a prime example of its capabilities. So I was delighted to receive a copy of The Definitive Guide to django: Web Development Done Right for review.

Authored by two of the creators of Django: Adrian Holovaty and Jacob Kaplan-Moss, the book is carefully structured, initially placing django in context by exploring various approaches to web development, and then stepping through initial project creation, templates, models, url configuration, django's famed admin interface, and so on. After eight chapters it changes tack and switches from basic tutorial to more in-depth exploration of areas like the ORM, session handling, caching and deployment. Several appendices provide supplementary material.

The first few chapters do a good job of laying out the foci of the framework's architecture and it's Model Template View (MTV) approach. Its pace is measured and while I wonder if it might be a little too much too soon for those totally new to full stack web frameworks, it would work well for those coming from a background building web apps with PHP, Java, or for those of us who are used to working with Rails. There are new techniques to learn and I found the book particularly useful for grasping the deeply pythonic approach, favouring flexibility over convention.

A clear example of that comes in the use of Context objects for passing values between Views and Templates. The authors initially show us the most verbose and rudimentary way to do it and gradually develop that to show how they've provided for various common cases. By going through those steps there's a good chance the reader will be well equipped to work out ways to simplify their own workflow and/or create new subclasses to promote reuse in their code.

Where the book is lacking is in the examples. The introductory material, and much of the reference content is excellent, but as a newcomer to the framework I felt a little lost in how I should structure my code and how different components relate; it's clear how models relate to the database, but how do I pass them around when building associations?

I recognise that django deliberately avoids the strong conventions of the Rails community (though even there you frequently find newcomers unsure where in the directory structure to place certain components) and there's no need for lengthy tutorials on building a shop or how a magazine cms could work, but when I come to a book like this I'm looking for a guide to best practices at the project architecture level, not just the component level, and I was sorry not to find it. The authors clearly have a lot of experience of structuring django sites of all shapes and sizes and it would be good to learn more about how they keep those sites organised.

That said, this is a solid introduction to django for web developers; a solid contribution in a so-far underserved market and it's likely to come in handy for a number of people. Just be prepared to supplement it with a fair amount of time in search engines working out good strategies for connecting the pieces.

Disclaimer: I was sent a copy of this book for review by the publisher.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
59 of 74 people found the following review helpful:
3.0 out of 5 stars Another Definitive Flop from Apress, January 29, 2008
By orangekay (San Francisco, CA United States) - See all my reviews
  
I buy books like these because I don't like reading documentation on a computer screen where I can't dog-ear or highlight anything, but after several bad experiences I'll probably avoid these black and yellow striped titles the same way I avoid black and yellow striped insects in the future. O'Reilly books are frequently hit-or-miss affairs, but everything I've seen come out of Apress looks like it was typeset by a 12 year old and simply isn't worth the money. It seems as though anyone who's ever written a single line of code and given it away for free can get a publishing deal these days.

Forgetting for a moment the various reasons why Django itself fails to live up to its own "perfectionist" hype, this book is just not very good. The first couple of chapters do a decent job covering introductory topics, but it quickly becomes apparent that the authors were in a big hurry to finish the rest of it as quickly as possible. There's even a "guest author" brought in at one point for no apparent reason, and his chapter is one of the worst. Those few examples that are given in latter, more advanced, sections are nothing but code that is so full of typos it never should have made it to publication. This is why developers are seldom allowed to pen their own public documentation whether they fetch coffee at a podunk newspaper or not--you spend enough time staring at your own code that you lose all sense of perspective and can no longer approach it as a newcomer would. You know what works best for you and your rapidly balding twenty-nothing IRC clique, and you figure that's good enough for everyone else. It ain't.

Another problem with letting the creators write their own "definitive" books is the way they tend to glance over the framework's shortcomings. The chapter on session management fails to mention the fact that Django expects YOU to clean up stale session data yourself, and the one on deployment makes little mention of the fact that there's not really any good way to get Django running smoothly without root access to the server--something a lot of people do not have--and they actually expect their users to run TWO servers--one for Django and one for everything else, like image files. There are ways around this, but why not put this kind of information right at the front of the book the way most others do so people can make an informed decision as to whether or not they should bother with your product right off the bat? Apache configuration is, according to them, "beyond the scope of this book." A quick Google search showed that any and all bugs related to this matter are immediately closed and marked "will not fix" by Django maintainers. It would seem that arrogance is the one feature of Rails they understood well enough to mimic correctly.

Even if you hate online books, you should stick to the free version. They at least implemented a comments system that will let other people point out where all the various typos are before you get stuck trying to figure out why this perfectionist's code isn't running very perfectly.
Comment Comments (4) | Permalink | Was this review helpful to you? Yes No (Report this)



 
12 of 14 people found the following review helpful:
3.0 out of 5 stars Sufficient, but written on drool-proof paper, January 31, 2008
By DavidInBerkeley (Berkeley, CA) - See all my reviews
This book is a decent survey of Django's capabilities as well as an introduction to MVC-based web dev. Unfortunately it suffers from a very simple problem: too much explanation getting in the way of information. For example: no one cares how "pure" the MVC-ness of Django is. Another example: excellent documentation on regular expressions already exists at the Python module index. I suspect that the authors mistakenly believe this extra information is "helpful" in some sense, but it isn't. It gets in the way!

In short: sufficient to the need, but the authors have SEVERELY compromised its usability with excessive padding and pointless discussion. Unfortunately this seems to be common practice in the web world.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews

3.0 out of 5 stars Weak but not Bad
I've been coding in Python for a profession since 1995 and have over the years developed several web frameworks. Read more
Published 25 days ago by thanos vassilakis

4.0 out of 5 stars Great Book
Great book, the Django version 1.0 has been released yet this book still use the old one, so some samples didn't work. Read more
Published 1 month ago by Suprie

5.0 out of 5 stars Great book if you already know python
This is a great book if you are completely new to web development but already know your way around python.
Published 2 months ago by Jose Fernandez de Castro

5.0 out of 5 stars Learn Django
I have spent the last year trying to find a platform to work on. The last two places I worked had two different platforms that I did not want to use (ColdFusion & Java), for... Read more
Published 4 months ago by J. Gartin

1.0 out of 5 stars Old.
My problem with this book is that the author has tarnished his integrity with me in that he was, as the head of the development of the Django software project, cognizant of the... Read more
Published 5 months ago by William Totman

5.0 out of 5 stars fantastic!
They don't get much better than this. The book was simple enough for me to read and understand the entire thing, without having to actually even create the lessons along with the... Read more
Published 6 months ago by D. Pontillo

4.0 out of 5 stars A good, but dated book
I bought The Definitive Guide to Django: Web Development Done Right due to a course at my university. Read more
Published 8 months ago by Mathias Hellevang

3.0 out of 5 stars Outdated
The book gives you a really nice overview of how the framework works. It's really an easy-reading book, and it also has really nice examples that shows exactly what you need to... Read more
Published 9 months ago by Felipe S. S. Silva

4.0 out of 5 stars Excellant start to a great framework
A great started for an an excellent MVC. I would recommend this book for anyone wanting to quickly assemble a website. Read more
Published 11 months ago by Jesse G. Lands

5.0 out of 5 stars Documentation is What Makes Django
I've dabbled with what I consider to be all the major web frameworks: TurboGears, Pylons, Rails, and Django. Read more
Published 13 months ago by Micah Elliott

Only search this product's reviews



Customer Discussions

 Beta (What's this?)
New! See all customer communities, and bookmark your communities to keep track of them.
This product's forum (1 discussion)
  Discussion Replies Latest Post
How popular is Django ? 2 January 2009
See all discussions...  
Start a new discussion
Topic:
First post:
Prompts for sign-in
  [Cancel]


Active discussions in related forums
   


Product Information from the Amapedia Community

Beta (What's this?)

Listmania!

Create a Listmania! list

Look for Similar Items by Category


Work and Roll with DEWALT

DEWALT Job Site Radio
While supplies last, enjoy special pricing on the DEWALT work site radio. Power it and you'll be rockin' and chargin' your way through a hard day of work.

Shop more chargers and radios

 

Big Savings in Books

Bargain Books
Find great titles at fantastic prices in our Bargain Books Store.
 

Let Nothing Fall Between the Cracks

Shop for Welding Tools
Browse a huge selection of welding equipment in Home Improvement's Power & Hand Tools Store.

Shop for welding equipment

 

Best Books

Best of the Month
See our editors' picks and more of the best new books on our Best of the Month page.
 

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Where's My Stuff?

Shipping & Returns

Need Help?

Your Recent History

  (What's this?)
You have no recently viewed items or searches.

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.

Look to the right column to find helpful suggestions for your shopping session.

Continue shopping: Top Sellers

Conditions of Use | Privacy Notice © 1996-2009, Amazon.com, Inc. or its affiliates