Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Added clarifying note to docs/model-api.txt

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 005e70387cad0adec94af84227a5964bb988e76d 1 parent d743739
@adrianholovaty adrianholovaty authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  docs/model-api.txt
3  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
Then, just refer to the other model class wherever needed. For example::
class MyModel(meta.Model):

0 comments on commit 005e703

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