Synopses & Reviews
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 ChicagoCrime.org.
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 Introduction to Django Getting Started Views and URLconfs Templates Models The Django Admin Site Forms Advanced Views and URLconfs Advanced Templates Advanced Models Generic Views Deploying Django Generating Non-HTML Content Sessions, Users, and Registration Caching django.contrib Middleware Integrating with Legacy Databases and Applications Internationalization Security
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.
Welcome to the second edition of The Definitive Guide to Django, informally known as The Django Book This book aims to teach you how to use the Django Web framework to develop Web sites efficiently. When Jacob Kaplan-Moss and I wrote the first edition of this book, Django was still in a pre-1.0 stage. Once Django version 1.0 was released, with its several backward-incompatible changes, the first edition inevitably became outdated and people began demanding an update. I m happy to report this edition covers Django 1.1 and should serve you well for some time. My thanks go to the many contributors who posted comments, corrections, and rants to, the accompanying Web site for this book, where I posted chapter drafts as I wrote them. You guys are great. Adrian Holovaty Cocreator and co Benevolent Dictator for Life, Django xxxiii Introduction In the early days, Web developers wrote every page by hand. Updating a Web site meant ed- ing HTML; a redesign involved redoing every single page, one at a time. As Web sites grew and became more ambitious, it quickly became obvious that that situation was tedious, time-consuming, and ultimately untenable. A group of enterprising hackers at NCSA (the National Center for Supercomputing Applications, where Mosaic, the first graphical Web browser, was developed) solved this problem by letting the Web server spawn external programs that could generate HTML dynamically. They called this protocol the Common Gateway Interface, or CGI, and it changed the Web forever."
Django is the python equivalent of Ruby's Rails web development framework, and is currently one of the hottest topics in web development. This book is a definitive guide to this framework, written by its creator Adrian Holovaty, and lead developer Jacob Kaplan-Moss.
This second edition is updated to work with Django 1.1. Since Django now carries a forward compatibility guarantee, this should continue to serve as a definitive guide for years to come.