Sams Teach Yourself Django in 24 Hours and over 360,000 other books are available for Amazon Kindle – Amazon’s new wireless reading device. Learn more

 

or
Sign in to turn on 1-Click ordering.
 
 
Express Checkout with PayPhrase
What's this? | Create PayPhrase
Sorry!
More Buying Choices
43 used & new from $9.42

Have one to sell? Sell yours here
 
   
Sams Teach Yourself Django in 24 Hours
 
 
Start reading Sams Teach Yourself Django in 24 Hours on your Kindle in under a minute.

Don’t have a Kindle? Get your Kindle here.
 
  

Sams Teach Yourself Django in 24 Hours (Paperback)

~ (Author)
Key Phrases: configuring caching, largest blog, verifying authentication, Quiz Answers, Try It Yourself, Utilizing Generic Views (more...)
2.8 out of 5 stars  See all reviews (9 customer reviews)

List Price: $39.99
Price: $30.39 & this item ships for FREE with Super Saver Shipping. Details
You Save: $9.60 (24%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.

Only 3 left in stock--order soon (more on the way).

Want it delivered Wednesday, November 11? Choose One-Day Shipping at checkout. Details
31 new from $10.45 12 used from $9.42

Formats

Amazon Price New from Used from
  Kindle Edition $15.39 -- --
  Paperback $30.39 $10.45 $9.42

Frequently Bought Together

Sams Teach Yourself Django in 24 Hours + The Definitive Guide to Django: Web Development Done Right, Second Edition + Practical Django Projects (Pratical Projects)
Price For All Three: $79.21

Show availability and shipping details

  • This item: Sams Teach Yourself Django in 24 Hours by Brad Dayley

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • The Definitive Guide to Django: Web Development Done Right, Second Edition by Adrian Holovaty

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Practical Django Projects (Pratical Projects) by James Bennett

    In Stock.
    Ships from and sold by Amazon.com.
    Eligible for FREE Super Saver Shipping on orders over $25. Details


Customers Who Bought This Item Also Bought

Practical Django Projects (Pratical Projects)

Practical Django Projects (Pratical Projects)

by James Bennett
3.8 out of 5 stars (12)  $19.13
Python Web Development with Django

Python Web Development with Django

by Jeff Forcier
4.1 out of 5 stars (13)  $31.49
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)  $31.57
Pro Django (Expert's Voice in Web Development)

Pro Django (Expert's Voice in Web Development)

by Marty Alchin
4.0 out of 5 stars (7)  $29.69
Foundations of Agile Python Development (Expert's Voice in Open Source)

Foundations of Agile Python Development (Expert's Voice in Open Source)

by Jeff Younker
4.7 out of 5 stars (3)  $28.37
Explore similar items

Editorial Reviews

Product Description

In just 24 lessons of one hour or less, you will be able to build full-featured production websites using Django, the powerful web development framework based on Python.

 

Designed for experienced website developers who have at least some familiarity with the Python programming language, this book uses a straightforward, step-by-step approach. Each lesson builds on the previous ones, enabling you to learn the essentials of implementing the Django framework on a website from the ground up.

 

Step-by-step instructions carefully walk you through the most common Django tasks.

 

Q&As, quizzes, and exercises at the end of each lesson help you test your knowledge.

 

Notes and tips point out shortcuts and solutions.

 

Learn how to…

  • Install and configure the Django web development framework
  • Cleanly separate data, logic, and view layers
  • Implement site interfaces with build templates and views
  • Utilize templates and views to store, access, and retrieve data
  • Use the Django forms library
  • Define custom tags and filters to minimize coding
  • Secure sites with registration, authorization, logins, and permissions
  • Manage sessions and cookies
  • Implement middleware for request and response handling
  • Create sitemaps to inform search engines of your content
  • Internationalize your site
  • Optimize performance with caching
  • Deploy Django in multiple configurations
  • Maintain sites with Django’s administrator interface

 

Introduction 1

 

Part I:  Creating the Website Framework

Hour 1: Understanding Django 7

Hour 2: Creating Your First Website 19

Hour 3: Adding Models and Objects to Your Website 37

Hour 4: Creating the Initial Views 63

Part II: Implementing the Website Interface

Hour 5: Using Data from the Database in Views 81

Hour 6: Configuring Web Page Views 103

Hour 7: Implementing Django Templates to Create Custom Views 117

Hour 8: Using Built-in Template Tags to Enhance Views 139

Hour 9: Using Built-in Template Filters to Enhance Views 155

Hour 10: Adding Forms to Views 185

Hour 11: Using Views to Add and Update Data in the Database 209

Hour 12: Utilizing Generic Views 231

Hour 13: Advanced View Configurations 269

Part III: Implementing a Full-Featured Website

Hour 14: Managing Site Users 295

Hour 15: Adding Website Security 313

Hour 16: Managing Sessions and Cookies 333

Hour 17: Customizing Models in the Admin Interface 347

Hour 18: Customizing the Admin Interface 365

Part IV:  Implementing Advanced Website Components

Hour 19: Implementing Middleware 383

Hour 20: Internationalization and Localization 407

Hour 21: Creating Sitemaps 423

Hour 22: Implementing Multiple Websites 437

Hour 23: Configuring Caching 451

Hour 24: Deploying Django 465

Appendixes

Appendix A: Django Resources 477

Appendix B: Django Form Field Objects 481

Appendix C: Formatting Dates and Times 491

 

Index 493

 

 



About the Author

Brad Dayley is a senior software engineer in Novell’s Product Development Group. He has 16 years of experience in designing, developing, and implementing software from the kernel level through web development. He is the author of several books on server and network management as well as programming languages. When he is not developing software or writing books, he can be found biking, hiking, and/or Jeeping somewhere in the remote regions of the western United States with his wife, DaNae, and four sons.


Product Details

  • Paperback: 528 pages
  • Publisher: Sams; 1 edition (March 3, 2008)
  • Language: English
  • ISBN-10: 067232959X
  • ISBN-13: 978-0672329593
  • Product Dimensions: 9 x 7 x 1.4 inches
  • Shipping Weight: 1.8 pounds (View shipping rates and policies)
  • Average Customer Review: 2.8 out of 5 stars  See all reviews (9 customer reviews)
  • Amazon.com Sales Rank: #820,456 in Books (See Bestsellers in Books)

More About the Author

Brad Dayley
Discover books, learn about writers, read author blogs, and more.

Visit Amazon's Brad Dayley Page

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.
 
(1)

Your tags: Add your first tag
 

 

Customer Reviews

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

 
10 of 12 people found the following review helpful:
4.0 out of 5 stars Other reviews are too critical, April 22, 2008
By C. Young "C. Young" (West Jordan, UT United States) - See all my reviews
(REAL NAME)      
Amazon Verified Purchase(What's this?)
I have this book and have read most of it, and I think the 1 star reviews here are overly critical and not really deserved.

Yes, the book has some mistakes in it, but most computer books do. I think this book gives you enough instruction that if a code snippet does have an error in it, you can easily identify what it is and fix it yourself. Also, most code snippets are listed more than once, and if I remember correctly, errors present in one code snippet were not present in the others.

I originally learned Django from the Django project's website, but it lacks in a lot of areas. Some features of the framework are covered really well, and others aren't.

When The Django Book came out, I bought it, read it, and gave it a really good review, but the truth is that is suffers from the same lack of consistent focus that the Django website does; some things are covered well and others are lightly touched upon.

I think that is where this book comes in. For me anyway, it filled in some of the missing pieces and clarified some aspects of Django that had been a bit hazy for me before.

None of the other documentation or currently published books provide you with a complete view of Django, and neither does this one. It does, however, provide pieces to the puzzle that the other documentation doesn't. Therefore, I would not write it off as some reviewers have. It does provide value.
Comment Comments (2) | Permalink | Was this review helpful to you? Yes No (Report this)



 
6 of 7 people found the following review helpful:
4.0 out of 5 stars Good if you can handle the sample code errors, June 7, 2008
By Michael McKee "mystic cowboy" (Port Townsend, WA United States) - See all my reviews
(TOP 100 REVIEWER)    (REAL NAME)      
First off, there are a number of code errors in this book. Look at some other reviews of Sam's 24 Hours or 24 Days books and you will find that this is common. Apparently one of the reasons that these books are so inexpensive is that the publisher doesn't spend money on technical reviews. I knew that when I got this book so was not disappointed. I have just enough coding experience that I am able to catch obvious mistakes and not get bogged down by the sample code. I can see why someone who is less experienced might find the book unacceptable. To be fair, the book description does mention that it is for people with some Python background, who should be able to spot mistakes in the text.

On the plus side this book actually does a good job of offering Django basics in a logical and straightforward manner. It is a well thought out and paced tutorial and currently the only one available.

I find the Definitive Guide to be more of a reference book than a training one. If you are already an experienced programmer then skip the Sam's volume. If, like me, you have some background but need a step-by-step primer then this book is pretty good. The not yet released Django Projects book might be better but this is what's here now and it has given me enough of a background that I can understand the more advanced material of the Definitive Guide to Django.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
6 of 7 people found the following review helpful:
4.0 out of 5 stars Worthy of the title, April 17, 2008
This is indeed a good beginner Django book and no doubt will teach your Django in the short 24 hours. However note that you will not be an expert in Django but more than enough to get started and get things going. The real stuff in the online reference anyway. :-)

I did find the chapter on Model lacking and seems incomplete -- this is the reason for the 4 stars. But this could be because Django API is still growing and as reflected by the online API.

In short this book deliver its promise of learning Django in short 24 hours.

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

1.0 out of 5 stars Skip it
For a "how to" book this title is filled with errors. Examples are incorrect, parameters are misspelled and the instructions are not correct for the current stable release of... Read more
Published 5 months ago by Rob

2.0 out of 5 stars Too many errors
I would have given this book 4 stars if there had only been one or two errors. However, there are so many errors that it breaks your concentration on learning the Django... Read more
Published 13 months ago by Jesse J. Aiton

3.0 out of 5 stars TY Django, petty good
I give this book a 3. I think the way it is presented and the pace is good. However I think a lot of the errors go beyond just minor typos and cause much confusion and waste of... Read more
Published 16 months ago by scott adams

5.0 out of 5 stars Great book-good instruction
Sams Teach Yourself Django in 24 Hours (Sams Teach Yourself)

This book helped me to get into the world of back end web development. Read more
Published 18 months ago by JP

1.0 out of 5 stars Riddled with errors
I'd had high hopes for this book, but it is riddled with errors. Even the "Hello, World" examples in the first chapter fail to work.
Published 18 months ago by AO

1.0 out of 5 stars If you want to learn django, skip this book
I purchased this book to learn how to use django. It seemed to be written well and had a good example site that you end up with after completing the 24 hours. Read more
Published 19 months ago by Chris A. Breshears

Only search this product's reviews



Customer Discussions

This product's forum
Discussion Replies Latest Post
How popular is Django ? 0 February 2008
See all discussions...  
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Discussion Replies Latest Post
SEO and SEM 0 3 days ago
Search Customer Discussions
   



So You'd Like to...


Create a guide

Product Information from the Amapedia Community

Beta (What's this?)


Look for Similar Items by Category


Look for Similar Items by Subject

 

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.


Your Recent History

 (What's this?)

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