summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGary Wilson Jr <gary.wilson@gmail.com>2009-03-30 18:40:59 +0000
committerGary Wilson Jr <gary.wilson@gmail.com>2009-03-30 18:40:59 +0000
commit1e214534e7c62dd14aaaae0c15d978af5c42a051 (patch)
tree5dba59060636d0c12c06a4df077c05d215f03e35 /docs
parent8ed6b2b1d137cc7c9f2a4eed0711ca61a49b1a2e (diff)
Fixed #9914 -- Fixed field class name in models docs, patch from timo.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10200 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/db/models.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/db/models.txt b/docs/topics/db/models.txt
index 7945dde451..eb61120fe3 100644
--- a/docs/topics/db/models.txt
+++ b/docs/topics/db/models.txt
@@ -871,7 +871,7 @@ that the field is used in. Since each class has a different name, each related
name will end up being different. For example::
class Base(models.Model):
- m2m = models.ManyToMany(OtherModel, related_name="%(class)s_related")
+ m2m = models.ManyToManyField(OtherModel, related_name="%(class)s_related")
class Meta:
abstract = True