Django documentation#

Everything you need to know about Django.

First steps#

The tutorial takes you by the hand through a series of steps to create a web application.

After that, there are some tutorials dedicated to particular topics.

The model layer#

A Django model is a representation of the objects your application will handle, described in Python, and stored in a database.

The view layer#

Django views contain the logic responsible for processing a user’s request and for returning the response.

The template layer#

The template layer provides a designer-friendly syntax for rendering the information to be presented to the user. Template functionality can also be customized.

Other core functionality#

User-facing features#

Developer-facing features#

Resources and interfaces#

Quality and dependability#

A key concern in Django’s design philosophy is to make it easier to build applications that work safely and efficiently, in the real world.

The Django open-source project#

Django moves forward steadily, thanks to a rigorous development process and a supportive community that welcomes new contributors:

Getting help#

Having trouble? We’d like to help!

How the documentation is organized#

The table of contents above unfolds Django’s documentation thematically. Pages themselves are organized into an underlying hierarchy according to type, to help navigate the site:

  • The tutorial takes you by the hand through a series of steps to create a web application. Start here if you’re new to Django or web application development.

  • Topic guides explain Django’s functionality in detail and provide an overview of key concepts and how individual parts of Django can be used.

  • Reference guides contain technical reference for APIs and other aspects of Django’s machinery.

  • How-to guides guide you through the work to address real-world problems and use-cases.