O'Reilly logo

Core Python Applications Programming, Third Edition by Wesley J. Chun

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 11. Web Frameworks: Django

Python: the only language with more Web frameworks than keywords.

—Harald Armin Massa, December 2005

In this chapter...

Introduction

Web Frameworks

Introduction to Django

Projects and Apps

Your “Hello World” Application (A Blog)

Creating a Model to Add Database Service

The Python Application Shell

The Django Administration App

Creating the Blog’s User Interface

Improving the Output

Working with User Input

Forms and Model Forms

More About Views

*Look-and-Feel Improvements

*Unit Testing

*An Intermediate Django App: The TweetApprover

Resources

11.1. Introduction

In this chapter, we’ll go outside the Python Standard Library and explore one popular Web framework for Python: Django. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required