Django v1.0 documentation

Django documentation

Everything you need to know about Django (and then some).

Getting help

Having trouble? We’d like to help!

First steps

Overview
See what writing a database-driven application with Django looks like.
Installation
Get Django installed on your computer.

Tutorial: Writing your first Django application

Part 1
Get set up, create models, and play with the database API.
Part 2
Explore the automatically-generated admin site.
Part 3
Write the public interface views.
Part 4
Learn how to process forms.

Using Django

Models
Design a single, definitive source of data about your data.
Handling web requests
Handle web requests, map them to views, and return pages.
Forms
Build and handle HTML forms.
Templates
Develop the visual design of your site.

Add-on (“contrib”) applications

Django’s automatic admin site
Get a clean interface to your data with no effort at all.
Form tools
Easily handle complex form workflows.
Syndication feeds
Generate RSS and Atom feeds of your data.
“Local flavor”
Give your site that special local touch.

Solving specific problems

Deployment
Release your project to the world.
Importing data from legacy databases
Use Django with an existing database or alongside other web development toolkits.
Custom template tags
Add your own extensions to Django’s template language.
Generating CSV & PDF
Produce non-HTML content with Django.

Reference

Settings
See all of Django’s settings and what they do.
Request & response objects
Understand the classes Django uses to represent HTTP requests and responses.
Model API reference
Revel in the gory details of Django’s model system.
Form API reference
Learn the details of forms, fields, and widgets.

And all the rest

Internals
Learn how Django works under the hood, and how you can contribute to the project.
Release notes
See what is and was new in each release of Django.
Miscellany
Stuff we can’t find a more organized place for. Like that drawer in your kitchen with the scissors, batteries, and duct tape.