Author: kmtracey
Date: 2009-05-18 10:36:18 -0500 (Mon, 18 May 2009)
New Revision: 10818

Modified:
   django/trunk/docs/topics/db/models.txt
Log:
Fixed #11137 -- Add missing base class in proxy model extra managers doc.  
Thanks ekarulf.


Modified: django/trunk/docs/topics/db/models.txt
===================================================================
--- django/trunk/docs/topics/db/models.txt      2009-05-17 18:47:32 UTC (rev 
10817)
+++ django/trunk/docs/topics/db/models.txt      2009-05-18 15:36:18 UTC (rev 
10818)
@@ -1101,7 +1101,7 @@
 containing the new managers and inherit that after the primary base class::
 
     # Create an abstract class for the new manager.
-    class ExtraManagers:
+    class ExtraManagers(models.Model):
         secondary = NewManager()
 
         class Meta:


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to