Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

[1.0.X]: Fixed #9914 -- Fixed field class name in models docs, patch …

…from timo.

Backport of r10200 from trunk.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 46292cd commit 46e37d20d4cafe4684aa7a38ffa72eced91e2736 @gdub gdub committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/topics/db/models.txt
2  docs/topics/db/models.txt
@@ -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

0 comments on commit 46e37d2

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