summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2013-07-13 21:08:26 +0200
committerClaude Paroz <claude@2xlibre.net>2013-07-13 21:08:44 +0200
commit64099e30e882fb9101887e2cf82b841c09992d5e (patch)
tree947b3cd3a556787238d7ec7f9c640f29c2c07c2e /docs
parent9b471a8fe3649cacd43c56a0aef604bb4bd8a4f5 (diff)
Removed obsolete sentence in queries docs
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/db/queries.txt4
1 files changed, 0 insertions, 4 deletions
diff --git a/docs/topics/db/queries.txt b/docs/topics/db/queries.txt
index 4aa9429c73..1d6052f938 100644
--- a/docs/topics/db/queries.txt
+++ b/docs/topics/db/queries.txt
@@ -60,10 +60,6 @@ class represents a particular record in the database table.
To create an object, instantiate it using keyword arguments to the model class,
then call :meth:`~django.db.models.Model.save` to save it to the database.
-You import the model class from wherever it lives on the Python path, as you
-may expect. (We point this out here because previous Django versions required
-funky model importing.)
-
Assuming models live in a file ``mysite/blog/models.py``, here's an example::
>>> from blog.models import Blog