diff options
| author | Gary Wilson Jr <gary.wilson@gmail.com> | 2009-03-30 18:44:35 +0000 |
|---|---|---|
| committer | Gary Wilson Jr <gary.wilson@gmail.com> | 2009-03-30 18:44:35 +0000 |
| commit | 46e37d20d4cafe4684aa7a38ffa72eced91e2736 (patch) | |
| tree | a6eb21dc23f2835f3fa7eb2cccf2b9da8f6d8088 /docs/topics/db | |
| parent | 46292cdc71f3151e78699bdaf0fbe52b7f59f0ce (diff) | |
[1.0.X]: Fixed #9914 -- 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
Diffstat (limited to 'docs/topics/db')
| -rw-r--r-- | docs/topics/db/models.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/db/models.txt b/docs/topics/db/models.txt index 12b54babf7..23fc2e1d2a 100644 --- a/docs/topics/db/models.txt +++ b/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 |
