Author: Alex
Date: 2009-12-22 08:37:09 -0600 (Tue, 22 Dec 2009)
New Revision: 11946

Modified:
   django/branches/soc2009/multidb/docs/ref/contrib/contenttypes.txt
Log:
[soc2009/multidb] Cleaned up documentation for now stale using argument.  Patch 
from Russell Keith-Magee.

Modified: django/branches/soc2009/multidb/docs/ref/contrib/contenttypes.txt
===================================================================
--- django/branches/soc2009/multidb/docs/ref/contrib/contenttypes.txt   
2009-12-22 14:37:01 UTC (rev 11945)
+++ django/branches/soc2009/multidb/docs/ref/contrib/contenttypes.txt   
2009-12-22 14:37:09 UTC (rev 11946)
@@ -183,16 +183,12 @@
         probably won't ever need to call this method yourself; Django will call
         it automatically when it's needed.
 
-    .. method:: models.ContentTypeManager.get_for_model(model, 
using=DEFAULT_DB_ALIAS)
+    .. method:: models.ContentTypeManager.get_for_model(model)
 
         Takes either a model class or an instance of a model, and returns the
         :class:`~django.contrib.contenttypes.models.ContentType` instance
         representing that model.
 
-        By default, this will find the content type on the default database.
-        You can load an instance from a different database by providing
-        a ``using`` argument.
-
 The :meth:`~models.ContentTypeManager.get_for_model()` method is especially 
useful when you know you
 need to work with a :class:`ContentType 
<django.contrib.contenttypes.models.ContentType>` but don't want to go to the
 trouble of obtaining the model's metadata to perform a manual lookup::

--

You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@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