The Definitive Guide to Django: Web Development Done Right [NOOK Book]


This latest edition of The Definitive Guide to Django is updated for Django 1.1, and, with the forward–compatibility guarantee that Django now provides, should serve as the ultimate tutorial and reference for this popular framework for years to come.

Django, the Python–based equivalent to Ruby’s Rails web development framework, is one of the hottest topics in web development today. Lead developer Jacob ...

See more details below
The Definitive Guide to Django: Web Development Done Right

Available on NOOK devices and apps  
  • NOOK Devices
  • Samsung Galaxy Tab 4 NOOK 7.0
  • Samsung Galaxy Tab 4 NOOK 10.1
  • NOOK HD Tablet
  • NOOK HD+ Tablet
  • NOOK eReaders
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac
  • NOOK for Web

Want a NOOK? Explore Now

NOOK Book (eBook)
$26.99 price
(Save 25%)$35.99 List Price


This latest edition of The Definitive Guide to Django is updated for Django 1.1, and, with the forward–compatibility guarantee that Django now provides, should serve as the ultimate tutorial and reference for this popular framework for years to come.

Django, the Python–based equivalent to Ruby’s Rails web development framework, is one of the hottest topics in web development today. Lead developer Jacob Kaplan–Moss and Django creator Adrian Holovaty show you how they use this framework to create award–winning web sites by guiding you through the creation of a web application reminiscent of

The Definitive Guide to Django is broken into three parts, with the first introducing Django fundamentals such as installation and configuration, and creating the components that together power a Django–driven web site. The second part delves into the more sophisticated features of Django, including outputting non–HTML content such as RSS feeds and PDFs, caching, and user management. The appendixes serve as a detailed reference to Django’s many configuration options and commands.

What you’ll learn

  • The first half of this book explains in depth how to build web applications using Django including the basics of dynamic web pages, the Django templating system interacting with databases, and web forms.

  • The second half of this book discusses higher-level concepts such as caching, security, and how to deploy Django.

  • The appendixes form a reference for the commands and configurations available in Django.

Who this book is for

Anyone who wants to use the powerful Django framework to build dynamic web sites quickly and easily.

Table of Contents

  1. Introduction to Django

  2. Getting Started

  3. Views and URLconfs

  4. Templates

  5. Models

  6. The Django Admin Site

  7. Forms

  8. Advanced Views and URLconfs

  9. Advanced Templates

  10. Advanced Models

  11. Generic Views

  12. Deploying Django

  13. Generating Non-HTML Content

  14. Sessions, Users, and Registration

  15. Caching

  16. django.contrib

  17. Middleware

  18. Integrating with Legacy Databases and Applications

  19. Internationalization

  20. Security

Read More Show Less

Product Details

  • ISBN-13: 9781430219378
  • Publisher: Apress
  • Publication date: 7/7/2009
  • Sold by: Barnes & Noble
  • Format: eBook
  • Edition number: 2
  • Pages: 536
  • Sales rank: 1,389,970
  • File size: 3 MB

Meet the Author

Adrian Holovaty, a web developer and journalist, is one of the creators and core developers of Django. He works at, 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, which won the 2005 Batten Award for Innovations in Journalism. He lives in Chicago and maintains a weblog at
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,, and, and he is continually embarrassed by the multitude of media awards those sites win. In his spare time what little of it there is he fancies himself a chef.
Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star


4 Star


3 Star


2 Star


1 Star


Your Rating:

Your Name: Create a Pen Name or

Barnes & Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation


  • - By submitting a review, you grant to Barnes & and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Terms of Use.
  • - Barnes & reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing 1 Customer Reviews
  • Anonymous

    Posted January 9, 2008

    A reviewer

    I've been messing with Django for some time, and I've long awaited the release of this book. This is one of the few times I've painstakingly gone through all the code samples and replicated as many of the examples as I could. The book's chapters are laid out logically and the material is presented intelligently by the creators of the framework. br/ br/ The authors don't waste time and energy exhaustingly spewing rhetoric about how Django came to be, how they developed it and what their mindset is/was/will be. They just let you get to work, quickly be productive, and have fun developing cool stuff for the web. Which is the whole point of Django to begin with. br/ br/ It's not written with a total newbie audience in mind, so some experience with web work, databases and Python programming is helpful, maybe even necessary. But, with some elbow grease, an open mind and a little persistence, you'll catch on. Although the authors are partial to Linux and Mac environments, the book gives more path and settings examples in those OSes, as well as Windows. br/ br/ However, in criticism a scant few of the examples rely on a slightly older build of the framework, so some of the namespaces might be inconsistent with the book, and code snafus are spotty. I found myself hungry for more screenshots, which is a minor, but still desired shortcoming of the text. br/ br/ Nonetheless, the book is chock full of little tidbits and tricks to help you write less code that's more reusable. Best practices are enforced as far as maintaining the 'MTV' application architecture, including heavy doses of refactoring. As far as topics, Simon Willison's demo of building an intra-site search utility was what I found to be the book's coolest example. Other great chapters are working with non-HTML content, internationalization and working with Django's templates. The appendices are also phenomenal, making for an excellent books-within-a-book as a reference guide. br/ br/ In future editions of the book I'd hope to see more pragmatic app examples, more APIs and their capabilities cited, more 'one-off' utilities built, and perhaps even an app developed consistently across chapters to bring the whole thing together and reinforce the concepts. br/ br/ This book is without doubt essential reading for getting down with Django.

    Was this review helpful? Yes  No   Report this review
Sort by: Showing 1 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)