Jump to ratings and reviews
Rate this book

Python Web Development with Django

Rate this book
Using the simple, robust, Python-based Django framework, you can build powerful Web solutions with remarkably few lines of code. In Python Web Development with Django®, three experienced Django and Python developers cover all the techniques, tools, and concepts you need to make the most of Django 1.0, including all the major features of the new release.

 

The authors teach Django through in-depth explanations, plus provide extensive sample code supported with images and line-by-line explanations. You’ll discover how Django leverages Python’s development speed and flexibility to help you solve a wide spectrum of Web development problems and learn Django best practices covered nowhere else. You’ll build your first Django application in just minutes and deepen your real-world skills through start-to-finish application projects including

Simple Web log (blog) Online photo gallery Simple content management system Ajax-powered live blogger Online source code sharing/syntax highlighting tool How to run your Django applications on the Google App Engine  

This complete guide starts by introducing Python, Django, and Web development concepts, then dives into the Django framework, providing a deep understanding of its major components (models, views, templates), and how they come together to form complete Web applications. After a discussion of four independent working Django applications, coverage turns to advanced topics, such as caching, extending the template system, syndication, admin customization, and testing. Valuable reference appendices cover using the command-line, installing and configuring Django, development tools, exploring existing Django applications, the Google App Engine, and how to get more involved with the Django community.

 

 

Introduction 1

 

Part Getting Started

Chapter 1: Practical Python for Django 7

Chapter 2: Django for the Building a Blog 57

Chapter 3: Starting Out 77

 

Part Django in Depth

Chapter 4: Defining and Using Models 89

Chapter 5: URLs, HTTP Mechanisms, and Views 117

Chapter 6: Templates and Form Processing 135

 

Part Django Applications by Example

Chapter 7: Photo Gallery 159

Chapter 8: Content Management System 181

Chapter 9: Liveblog 205

Chapter 10: Pastebin 221

 

Part Advanced Django Techniques and Features

Chapter 11: Advanced Django Programming 235

Chapter 12: Advanced Django Deployment 261

 

Part Appendices

Appendix Command Line Basics 285

Appendix Installing and Running Django 295

Appendix Tools for Practical Django Development 313

Appendix Finding, Evaluating, and Using Django Applications 321

Appendix Django on the Google App Engine 325

Appendix Getting Involved in the Django Project 337

 

Index 339

Colophon 375

404 pages, Kindle Edition

First published October 1, 2008

9 people are currently reading
75 people want to read

About the author

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
12 (15%)
4 stars
20 (25%)
3 stars
34 (44%)
2 stars
10 (12%)
1 star
1 (1%)
Displaying 1 - 7 of 7 reviews
Profile Image for Helen Mary.
184 reviews15 followers
June 7, 2023
It is insightful for understanding earlier versions of Django and how it evolved. Some principles are evergreen and useful but others are already outdated, so you need to read this first and pair it up with an up to date resource for version 4.
Profile Image for Richie.
55 reviews1 follower
February 15, 2010
This is a really good reference for Django. I'm slowly working my way through the book. I'm working on some small web-apps using Django with this book as a guide...
Profile Image for Peter Herndon.
2 reviews1 follower
March 31, 2011
The best introduction to working with Django you'll find, packed with relevant and useful tips from experienced programmers.
Profile Image for Sam Epps.
1 review1 follower
January 21, 2013
book is really outdated, but some principles and design patterns are still usable..overall worthwhile to check it out
Profile Image for Ginny Pennekamp.
252 reviews4 followers
April 12, 2015
To outdated to be very helpful, but had a nice long understanding of the concepts.
Displaying 1 - 7 of 7 reviews

Can't find what you're looking for?

Get help and learn more about the design.