Sams Teach Yourself Django in 24 Hours (Sams Teach Yourself in 24 Hours)

  Author:    Brad Dayley, DaNae Dayley
  ISBN:    067232959X
  Sales Rank:    168821
  Published:    2007-07-13
  Publisher:    Sams
  # Pages:    450
  Binding:    Paperback
  Avg. Rating:    3.0 based on 8 reviews
  Used Offers:    8 from $19.00
  Amazon Price:    $23.09
  (Data above last updated:  2008-10-20 06:38:22 EST)
  
  
Sort customer reviews by:
  
Show All Reviews on Page      Hide All Reviews on Page
   
  
Sams Teach Yourself Django in 24 Hours (Sams Teach Yourself in 24 Hours)
  

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

                  Reader Reviews 1 - 6 of 6                 
  
  
Review
Date
Review
Rating(5 High)
Review
Helpful
to:
Customer Review Reviewer
Info
Permanent
Link
Reader Reviews Below Sorted by Newest First
10-10-08 2 (NA)
(Hide Review...)  Too many errors
Reviewer Permalink
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 framework. There are so many errors that I had to dock it 2 stars!

If you don't mind the examples being broken in just about every chapter, this book is worth reading.
(Review Data Last Updated: 2008-10-20 06:39:54 EST)
06-30-08 3 (NA)
(Hide Review...)  TY Django, petty good
Reviewer Permalink
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 time. On the bright side, figuring out why the code doesn't work and finding the errors in the book was also very instructive and showed to me that Djangos error system is very good.

I would like to find a book that would let you display images in a Django app with the development server, out of the box. Does anyone know how to do it?
(Review Data Last Updated: 2008-10-17 08:26:14 EST)
06-07-08 4 2\2
(Hide Review...)  Good if you can handle the sample code errors
Reviewer Permalink
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.
(Review Data Last Updated: 2008-06-30 06:20:39 EST)
05-02-08 5 2\2
(Hide Review...)  Great book-good instruction
Reviewer Permalink
Sams Teach Yourself Django in 24 Hours (Sams Teach Yourself)

This book helped me to get into the world of back end web development. I have played with html for years, but not done much more than that. With the 24 1-hour lessons in this book, I was able to put together an example server and learn the basic concepts taught. In short, I liked it, and it was a good experience for me.

Some of the other reviews are harsh on some problems in some of the examples. I found one or two, but also found that if I had problems, it was my fault--missing a comma or a semicolon.

The book helped me to understand how Django works, and give me a frameowork from which to build. I am excited to write my own websites using the concepts well taught in this book.
(Review Data Last Updated: 2008-06-08 05:53:10 EST)
04-22-08 4 3\3
(Hide Review...)  Other reviews are too critical
Reviewer Permalink
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.
(Review Data Last Updated: 2008-05-03 06:05:02 EST)
04-14-08 1 1\1
(Hide Review...)  If you want to learn django, skip this book
Reviewer Permalink
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. With in the first few pages I knew I was in trouble,,, not because I couldn't understand django, django is super easy to use,, but almost EVERY example has something wrong with it. This entire book is full of typos that will not let you complete the tasks. How could this happen? Where there no editors? Skip this book and use the free django online book instead... much easier to use and the code examples actually work!!
(Review Data Last Updated: 2008-04-17 08:00:23 EST)
  
                  Reader Reviews 1 - 6 of 6                 
  
  
  
  
  
  

Because the data used to generate this site come from outside sources, VeryWellSaid.com cannot guarantee the completeness or accuracy of the data.
Search VeryWellSaid™
Google
Web VeryWellSaid™
New subjects are added every week.
View Subjects Below by:
* Top Selling
 (click category name, left)
* Top-Rated Top Sellers
 (click 'Top Rated', right)
In the news...  
Dubai\UAE Top Rated
Influenza\Bird Flu Top Rated
Iraq Top Rated
Supreme Court Top Rated
All Books Top Rated
Arts Top Rated
Photography Top Rated
Digital Photography Top Rated
Digital Cameras Top Rated
Biography Top Rated
Business Top Rated
Management Top Rated
Marketing Top Rated
Sales Top Rated
Stocks Top Rated
Bonds Top Rated
Real Estate Top Rated
Trading Top Rated
Commodities Trading Top Rated
Time Management Top Rated
Starting A Business Top Rated
Children's Top Rated
Comics Top Rated
Computers Top Rated
PC Top Rated
Mac Top Rated
Programming Top Rated
Design Patterns Top Rated
.Net Top Rated
C# Top Rated
Vb.Net Top Rated
Asp.Net Top Rated
Java Top Rated
Python Top Rated
PHP Top Rated
Perl Top Rated
Javascript Top Rated
Ajax Top Rated
CSS Top Rated
Open Source Top Rated
SQL Top Rated
Databases Top Rated
Oracle Top Rated
MySql Top Rated
Sql Server Top Rated
IIS Top Rated
Apache Top Rated
Linux Top Rated
Windows Server Top Rated
Project Management Top Rated
HTML Top Rated
UML Top Rated
IT Certifications Top Rated
Cisco Certifications Top Rated
MCSE Top Rated
MCSD Top Rated
Cooking Top Rated
Italian Cooking Top Rated
Vegetarian Cooking Top Rated
Wine Top Rated
Engineering Top Rated
Entertainment Top Rated
Health Top Rated
Nutrition Top Rated
Dieting Top Rated
Sex Top Rated
History Top Rated
Military History Top Rated
British History Top Rated
Middle East History Top Rated
Land Battles Top Rated
Naval Warfare Top Rated
Air Warfare Top Rated
9/11 Top Rated
Terrorism Top Rated
Home Top Rated
Mortgage\Home Equity Loan Top Rated
Cars Top Rated
Car Buying Top Rated
Sports Cars Top Rated
Cat Top Rated
Humor Top Rated
Horror Top Rated
Law Top Rated
IP Law Top Rated
Legal History Top Rated
Fiction Top Rated
Oprah's Book Club Top Rated
Medicine Top Rated
Cancer Top Rated
Stroke Top Rated
Heart Disease Top Rated
Fertility Top Rated
Diabetes Top Rated
Pharmacology Top Rated
Back Problems Top Rated
Menopause Top Rated
Thyroid Top Rated
Pain Top Rated
Organic Chemistry Top Rated
Immune System Top Rated
Mystery Top Rated
Nonfiction Top Rated
Outdoors Top Rated
Running Top Rated
Radio Control Models Top Rated
Guns Top Rated
Parenting Top Rated
Divorce Top Rated
Professional Top Rated
Reference Top Rated
Religion Top Rated
Romance Top Rated
Science Top Rated
Physics Top Rated
Chemistry Top Rated
Astronomy Top Rated
Psychology Top Rated
Science Fiction Top Rated
Sports Top Rated
Teens Top Rated
Travel Top Rated
USA Top Rated
Europe Top Rated
France Top Rated
Italy Top Rated
England Top Rated
China Top Rated
All Books Arts Biography Click Here For An A-Z Index Of All 213 Best-Seller Subjects Business Children's Comics
Computers Cooking Engineering Entertainment Health History Home Horror Humor Law Fiction Medicine Mystery
Nonfiction Outdoors Parenting Professional Reference Religion Romance Science Sci-Fi Sports Teens Travel
In Association with Amazon.com

Cache miss
(not cached)