2016-01-03 10:56:22 +00:00
|
|
|
====================
|
2008-08-23 22:25:40 +00:00
|
|
|
Models and databases
|
|
|
|
====================
|
|
|
|
|
2011-03-03 19:31:10 +00:00
|
|
|
.. module:: django.db
|
|
|
|
|
2021-08-24 05:41:24 +00:00
|
|
|
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.
|
2008-08-23 22:25:40 +00:00
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 1
|
|
|
|
|
|
|
|
models
|
|
|
|
queries
|
2009-01-15 11:06:34 +00:00
|
|
|
aggregation
|
2015-05-31 21:45:03 +00:00
|
|
|
search
|
2008-08-23 22:25:40 +00:00
|
|
|
managers
|
|
|
|
sql
|
|
|
|
transactions
|
2009-12-22 15:18:51 +00:00
|
|
|
multi-db
|
2011-10-14 21:49:43 +00:00
|
|
|
tablespaces
|
2010-01-16 03:13:16 +00:00
|
|
|
optimization
|
2017-09-21 16:13:09 +00:00
|
|
|
instrumentation
|
2012-03-14 22:16:46 +00:00
|
|
|
examples/index
|