Author: gwilson
Date: 2009-03-30 13:44:35 -0500 (Mon, 30 Mar 2009)
New Revision: 10201
Modified:
django/branches/releases/1.0.X/docs/topics/db/models.txt
Log:
[1.0.X]: Fixed #9914 -- Fixed field class name in models docs, patch from timo.
Backport of r10200 from trunk.
Modified: django/branches/releases/1.0.X/docs/topics/db/models.txt
===================================================================
--- django/branches/releases/1.0.X/docs/topics/db/models.txt 2009-03-30
18:40:59 UTC (rev 10200)
+++ django/branches/releases/1.0.X/docs/topics/db/models.txt 2009-03-30
18:44:35 UTC (rev 10201)
@@ -866,7 +866,7 @@
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
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---