Author: gwilson
Date: 2009-03-30 13:40:59 -0500 (Mon, 30 Mar 2009)
New Revision: 10200
Modified:
django/trunk/docs/topics/db/models.txt
Log:
Fixed #9914 -- Fixed field class name in models docs, patch from timo.
Modified: django/trunk/docs/topics/db/models.txt
===================================================================
--- django/trunk/docs/topics/db/models.txt 2009-03-30 18:32:49 UTC (rev
10199)
+++ django/trunk/docs/topics/db/models.txt 2009-03-30 18:40:59 UTC (rev
10200)
@@ -871,7 +871,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
-~----------~----~----~----~------~----~------~--~---