简介
Product Description
Detail Description
Django is a high-level Python web framework that was developed by a fast-moving online-news operation to meet the stringent twin challenges of newsroom deadlines and the needs of web developers. It is designed to promote rapid development and clean, pragmatic design and lets you build high-performing, elegant web applications rapidly. Django focuses on automating as much as possible and adhering to the DRY (Don’t Repeat Yourself) principle, making it easier to build high-performance web applications faster, with less code.
This book will show you how to assemble Django’s features and leverage its power to design, develop, and deploy a fully-featured website. It will walk you through the creation of an example web application, with lots of code. Each chapter will add new features to the site, and show what parts of Django to work on to build these features.
This book has been specifically written for Python developers new to Django, and its goal is to help you put together Django applications as quickly as possible. This book will give you clear, concise, and practical guidance to take you from the basics of creating pages with Django through to learning the skills that will make you a Django developer to be reckoned with.
From the Publisher
Approach
Being a beginner’s guide this book has a very simple and clear approach. It is a practical guide that will help you learn the features of Django and help you build a dynamic website using those features.
Who this book is written for
This book is for web developers who want to see how to build a complete site with Web 2.0 features, using the power of a proven and popular development system, but do not necessarily want to learn how a complete framework functions in order to do this.
Basic knowledge of Python development is required for this book, but no knowledge of Django is expected.
http://www.ppurl.com/2008/12/learning-website-development-with-django.html 此为0.96版
http://pickup.mofile.com/5418720221291828 这里是1.0版
http://pickup.mofile.com/7602823919808135 这里是1.1版
1.1 Version 纠错:
Page 105:
ALTER TABLE books_book ALTER COLUMN publication_date DROP NOT NULL;
改为:
ALTER TABLE books_book MODIFY COLUMN publication_date DATE DEFAULT NULL;
Page: 123
# view.py 少了
from django.http import HttpResponse