Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed obsolete sentence in queries docs

  • Loading branch information...
commit 64099e30e882fb9101887e2cf82b841c09992d5e 1 parent 9b471a8
Claude Paroz claudep authored
Showing with 0 additions and 4 deletions.
  1. +0 −4 docs/topics/db/queries.txt
4 docs/topics/db/queries.txt
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.