Ticket #18024: rewording.diff

File rewording.diff, 704 bytes (added by Preston Holmes, 13 years ago)
  • docs/topics/db/models.txt

    diff --git a/docs/topics/db/models.txt b/docs/topics/db/models.txt
    index ee6644f..9d2ba82 100644
    a b Thus, it's now possible to have multiple fields of type  
    577577Models across files
    578578-------------------
    579579
    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,
     580It's perfectly OK to relate a model to one from another app. To do this, import
     581the related model at the top of the file where your model is defined. Then,
    582582just refer to the other model class wherever needed. For example::
    583583
    584584    from geography.models import ZipCode
Back to Top