This document is for a local build or a pull-request preview build of Django.
Skip to main content
Django

Django 6.2.dev20260610221126 documentation

Models and databases¶

A model is the single, definitive source of information about your data. It contains the essential fields and behaviors of the data you’re storing. Generally, each model maps to a single database table.

  • Models
  • Making queries
  • Fetch modes
  • Aggregation
  • Search
  • Managers
  • Performing raw SQL queries
  • Database transactions
  • Multiple databases
  • Tablespaces
  • Database access optimization
  • Database instrumentation
  • Fixtures
  • Examples of model relationship API usage
Previous page and next page
How to install Django
Models
Back to Top

Additional Information

Browse

  • Prev: How to install Django
  • Next: Models
  • Table of contents
  • General Index
  • Python Module Index

You are here:

  • Django 6.2 documentation
    • Using Django
      • Models and databases

Getting help

FAQ
Try the FAQ — it's got answers to many common questions.
Index, Module Index, or Table of Contents
Handy when looking for specific information.
Last updated on Jun 10, 2026.
Created using Sphinx 9.1.0.
Django theme designed by Threespot & andrevv.
© Django Software Foundation and contributors.
Django is a registered trademark of the Django Software Foundation.