Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[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
  • Loading branch information...
commit 46e37d20d4cafe4684aa7a38ffa72eced91e2736 1 parent 46292cd
Gary Wilson Jr. authored March 30, 2009

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  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
866 866
 name will end up being different. For example::
867 867
 
868 868
     class Base(models.Model):
869  
-        m2m = models.ManyToMany(OtherModel, related_name="%(class)s_related")
  869
+        m2m = models.ManyToManyField(OtherModel, related_name="%(class)s_related")
870 870
 
871 871
         class Meta:
872 872
             abstract = True

0 notes on commit 46e37d2

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