Changes between Initial Version and Version 1 of Ticket #31701


Ignore:
Timestamp:
Jun 12, 2020, 8:09:56 AM (4 years ago)
Author:
Sultan
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31701 – Description

    initial v1  
    33To access the field data in instance dict, **Field.attname** is used as a key.
    44
    5 In addition to the field data, some other model fields (for example, FK) also use a "client data" of the attribute, the processing of which is performed by a particular descriptor. Such a descriptor is usually assigned to a model using **Field.name**.
     5In addition to the field data, some other model fields (for example, ForeignKey) also use a "client data" of the attribute, the processing of which is performed by a particular descriptor. Such a descriptor is usually assigned to a model using **Field.name**.
    66
    77This enables us to process and present data in different ways: article.author returns a User object, and article.auther_id returns a User object pk.
Back to Top