From 1e214534e7c62dd14aaaae0c15d978af5c42a051 Mon Sep 17 00:00:00 2001 From: Gary Wilson Jr Date: Mon, 30 Mar 2009 18:40:59 +0000 Subject: [PATCH] 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 --- docs/topics/db/models.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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