Merge pull request #352 from Jonathan-Steinmann/patch-1

update db.rst
This commit is contained in:
2014-01-23 11:22:31 -08:00
+8
View File
@@ -33,3 +33,11 @@ to provide database access.
It's based on the idea of `models <https://docs.djangoproject.com/en/1.3/#the-model-layer>`_, an abstraction that makes it easier to
manipulate data in Python.
The basics:
- Each model is a Python class that subclasses django.db.models.Model.
- Each attribute of the model represents a database field.
- Django gives you an automatically-generated database-access API; see `Making queries <https://docs.djangoproject.com/en/dev/topics/db/queries/>`__.
to provide database access.