Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed bad indentation in contenttypes code example so that cut and pa…

…ste from doc will work.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@12253 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 34e420184c7a4860852a0a481083335923b533d1 1 parent 235bf7f
Karen Tracey authored January 18, 2010

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  docs/ref/contrib/contenttypes.txt
4  docs/ref/contrib/contenttypes.txt
@@ -223,8 +223,8 @@ A simple example is a tagging system, which might look like this::
223 223
         object_id = models.PositiveIntegerField()
224 224
         content_object = generic.GenericForeignKey('content_type', 'object_id')
225 225
 
226  
-       def __unicode__(self):
227  
-           return self.tag
  226
+        def __unicode__(self):
  227
+            return self.tag
228 228
 
229 229
 A normal :class:`~django.db.models.fields.related.ForeignKey` can only "point
230 230
 to" one other model, which means that if the ``TaggedItem`` model used a

0 notes on commit 34e4201

Please sign in to comment.
Something went wrong with that request. Please try again.