Permalink
Browse files

Fixed spaces vs. tabs issue in docs/contenttypes.txt from [7976]

git-svn-id: http://code.djangoproject.com/svn/django/trunk@8042 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 46c7941 commit ca98003390cd7f0132c7134accf419f957195192 @adrianholovaty adrianholovaty committed Jul 22, 2008
Showing with 4 additions and 4 deletions.
  1. +4 −4 docs/contenttypes.txt
View
@@ -205,10 +205,10 @@ model. There are three parts to setting up a ``GenericForeignKey``:
models you'll be relating to. (For most models, this means an
``IntegerField`` or ``PositiveIntegerField``.)
- This field must be of the same type as the primary key of the models
- that will be involved in the generic relation. For example, if you use
- ``IntegerField``, you won't be able to form a generic relation with a
- model that uses a ``CharField`` as a primary key.
+ This field must be of the same type as the primary key of the models
+ that will be involved in the generic relation. For example, if you use
+ ``IntegerField``, you won't be able to form a generic relation with a
+ model that uses a ``CharField`` as a primary key.
3. Give your model a ``GenericForeignKey``, and pass it the names of
the two fields described above. If these fields are named

0 comments on commit ca98003

Please sign in to comment.