summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2005-09-01 02:12:53 +0000
committerAdrian Holovaty <adrian@holovaty.com>2005-09-01 02:12:53 +0000
commit005e70387cad0adec94af84227a5964bb988e76d (patch)
tree273d8c68b02c41e07f164ee68eec323b1514eb9a /docs
parentd74373924d053af52946aed2eda2bf0934d56f31 (diff)
Added clarifying note to docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@586 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/model-api.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/model-api.txt b/docs/model-api.txt
index c88c0e971a..7eda8c95c1 100644
--- a/docs/model-api.txt
+++ b/docs/model-api.txt
@@ -1010,6 +1010,9 @@ just import the model module at the top of your model module, like so::
from django.models import core
+Make sure you're importing from ``django.models``, not directly from your model
+module.
+
Then, just refer to the other model class wherever needed. For example::
class MyModel(meta.Model):