Changes between Initial Version and Version 1 of Ticket #32494, comment 6


Ignore:
Timestamp:
Mar 2, 2021, 10:15:23 AM (4 years ago)
Author:
Simon Charette

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #32494, comment 6

    initial v1  
    33We either add tested support for referring to fields by `.attname` by changing all `db_field.name in raw_id_fields` checks to `{db_field.name, db_field.attname}.union(raw_id_fields)` **or** adjust `admin.E002` not to return false negative when dealing with `.attname` references.
    44
    5 Either way works and I don't have strong feeling about one approach over the other as its not silently allowed to be misconfigured.
     5Either way works and I don't have strong feeling about one approach over the other as long as its not silently allowed to be misconfigured.
Back to Top