0
0
mirror of https://github.com/django/django.git synced 2024-12-01 15:42:04 +01:00

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

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