2008-08-24 00:25:40 +02:00
|
|
|
Models and databases
|
|
|
|
====================
|
|
|
|
|
2011-03-03 20:31:10 +01:00
|
|
|
.. module:: django.db
|
|
|
|
|
2008-08-24 00:25:40 +02: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 12:06:34 +01:00
|
|
|
aggregation
|
2008-08-24 00:25:40 +02:00
|
|
|
managers
|
|
|
|
sql
|
|
|
|
transactions
|
2009-12-22 16:18:51 +01:00
|
|
|
multi-db
|
2011-10-14 23:49:43 +02:00
|
|
|
tablespaces
|
2010-01-16 04:13:16 +01:00
|
|
|
optimization
|
2012-03-14 23:16:46 +01:00
|
|
|
examples/index
|