Changeset 8215 for django/branches/gis/docs/contenttypes.txt
- Timestamp:
- 08/05/08 12:15:33 (5 months ago)
- Files:
-
- django/branches/gis (modified) (1 prop)
- django/branches/gis/docs/contenttypes.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/branches/gis
- Property svnmerge-integrated changed from /django/trunk:1-7978 to /django/trunk:1-8214
django/branches/gis/docs/contenttypes.txt
r7979 r8215 206 206 ``IntegerField`` or ``PositiveIntegerField``.) 207 207 208 This field must be of the same type as the primary key of the models209 that will be involved in the generic relation. For example, if you use210 ``IntegerField``, you won't be able to form a generic relation with a211 model that uses a ``CharField`` as a primary key.208 This field must be of the same type as the primary key of the models 209 that will be involved in the generic relation. For example, if you use 210 ``IntegerField``, you won't be able to form a generic relation with a 211 model that uses a ``CharField`` as a primary key. 212 212 213 213 3. Give your model a ``GenericForeignKey``, and pass it the names of
