Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
Claude Paroz authored April 15, 2012

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  docs/topics/db/models.txt
4  docs/topics/db/models.txt
@@ -577,8 +577,8 @@ Thus, it's now possible to have multiple fields of type
577 577
 Models across files
578 578
 -------------------
579 579
 
580  
-It's perfectly OK to relate a model to one from another app. To do this,
581  
-import the related model at the top of the model that holds your model. Then,
  580
+It's perfectly OK to relate a model to one from another app. To do this, import
  581
+the related model at the top of the file where your model is defined. Then,
582 582
 just refer to the other model class wherever needed. For example::
583 583
 
584 584
     from geography.models import ZipCode

0 notes on commit 157f823

Please sign in to comment.
Something went wrong with that request. Please try again.