From 005e70387cad0adec94af84227a5964bb988e76d Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Thu, 1 Sep 2005 02:12:53 +0000 Subject: [PATCH] Added clarifying note to docs/model-api.txt git-svn-id: http://code.djangoproject.com/svn/django/trunk@586 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/model-api.txt | 3 +++ 1 file changed, 3 insertions(+) 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):