Fixed #18024 -- Reworded sentence in models documentation. Thanks Preston Holmes for the patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17912 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Claude Paroz 2012-04-15 21:25:23 +00:00
parent 5116c51b40
commit 157f823819
1 changed files with 2 additions and 2 deletions

View File

@ -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