Changeset 7976 for django/trunk/docs/contenttypes.txt
- Timestamp:
- 07/18/08 21:46:12 (4 months ago)
- Files:
-
- django/trunk/docs/contenttypes.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/docs/contenttypes.txt
r7294 r7976 205 205 models you'll be relating to. (For most models, this means an 206 206 ``IntegerField`` or ``PositiveIntegerField``.) 207 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. 207 212 208 213 3. Give your model a ``GenericForeignKey``, and pass it the names of
