Ticket #7785: note-about-primary-keys.diff
File note-about-primary-keys.diff, 603 bytes (added by , 16 years ago) |
---|
-
docs/contenttypes.txt
256 256 which have a ``GenericForeignKey`` pointing at it will be deleted as well. In 257 257 the example above, this means that if a ``Bookmark`` object were deleted, any 258 258 ``TaggedItem`` objects pointing at it would be deleted at the same time. 259 260 Please also note that all the primary-keys of the models you want to refer to 261 must be of the same type (``IntegerField`` or ``PositiveIntegerField`` is 262 most common).