Changes between Initial Version and Version 1 of Ticket #36075


Ignore:
Timestamp:
Jan 8, 2025, 11:52:26 PM (21 hours ago)
Author:
Simon Charette
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #36075 – Description

    initial v1  
    11A particular focus should be put on the fact that the flag will and should only be set to `True` if the field is the single member of the primary key. When a composite primary is defined on the model this flag will be `False` for all the fields defined on the model and `_meta.pk_fields` (which should be documented) should be used instead to build composite primary key ready third-party application.
    22
    3 In other words, it should be made clear that code that relies on `Field.primary_key` is not composite field ready and that `_meta.pk_fields` should be used instead.
     3In other words, it should be made clear that code that relies solely on `Field.primary_key` is not composite primary key ready and that `_meta.pk_fields` should be used instead.
Back to Top