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
|
|
|
|
|
2008-08-23 22:25:40 +00:00
|
|
|
A model is the single, definitive source of data 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.
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 1
|
|
|
|
|
|
|
|
models
|
|
|
|
queries
|
2009-01-15 11:06:34 +00:00
|
|
|
aggregation
|
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
|
2012-03-14 22:16:46 +00:00
|
|
|
examples/index
|