Author: kmtracey
Date: 2010-01-18 07:00:22 -0600 (Mon, 18 Jan 2010)
New Revision: 12253

Modified:
   django/trunk/docs/ref/contrib/contenttypes.txt
Log:
Fixed bad indentation in contenttypes code example so that cut and paste from 
doc will work.


Modified: django/trunk/docs/ref/contrib/contenttypes.txt
===================================================================
--- django/trunk/docs/ref/contrib/contenttypes.txt      2010-01-18 00:00:31 UTC 
(rev 12252)
+++ django/trunk/docs/ref/contrib/contenttypes.txt      2010-01-18 13:00:22 UTC 
(rev 12253)
@@ -223,8 +223,8 @@
         object_id = models.PositiveIntegerField()
         content_object = generic.GenericForeignKey('content_type', 'object_id')
 
-       def __unicode__(self):
-           return self.tag
+        def __unicode__(self):
+            return self.tag
 
 A normal :class:`~django.db.models.fields.related.ForeignKey` can only "point
 to" one other model, which means that if the ``TaggedItem`` model used a

-- 
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.


Reply via email to