[1.0.X]: Fixed -- Fixed field class name in models docs, patch from timo.

Backport of r10200 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10201 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Gary Wilson Jr 2009-03-30 18:44:35 +00:00
parent 46292cdc71
commit 46e37d20d4
1 changed files with 1 additions and 1 deletions
docs/topics/db

View File

@ -866,7 +866,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