Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed #18024 -- Reworded sentence in models documentation. Thanks Pre…

…ston Holmes for the patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17912 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 157f8238190d69e92c61c114f3331cf3f975c561 1 parent 5116c51
@claudep claudep authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/topics/db/models.txt
View
4 docs/topics/db/models.txt
@@ -577,8 +577,8 @@ Thus, it's now possible to have multiple fields of type
Models across files
-------------------
-It's perfectly OK to relate a model to one from another app. To do this,
-import the related model at the top of the model that holds your model. Then,
+It's perfectly OK to relate a model to one from another app. To do this, import
+the related model at the top of the file where your model is defined. Then,
just refer to the other model class wherever needed. For example::
from geography.models import ZipCode
Please sign in to comment.
Something went wrong with that request. Please try again.