Models and databases
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.
- Models
- Making queries
- Aggregation
- Managers
- Performing raw SQL queries
- Database transactions
- Multiple databases
- Tablespaces
- Database access optimization
- Examples of model relationship API usage
© Django Software Foundation and individual contributors
Licensed under the BSD License.
https://docs.djangoproject.com/en/1.9/topics/db/index/