diff options
| author | Claude Paroz <claude@2xlibre.net> | 2012-04-15 21:25:23 +0000 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2012-04-15 21:25:23 +0000 |
| commit | 157f8238190d69e92c61c114f3331cf3f975c561 (patch) | |
| tree | ac296655ed1f010836310e2eb2ccf1be19c7ebf8 /docs | |
| parent | 5116c51b40edc37ed2e1bd68d0069321bc1f3f04 (diff) | |
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
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/db/models.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/topics/db/models.txt b/docs/topics/db/models.txt index ee6644ffcc..9d2ba82c34 100644 --- a/docs/topics/db/models.txt +++ b/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 |
