Changes between Initial Version and Version 1 of Ticket #29900, comment 1
- Timestamp:
- Oct 28, 2018, 9:13:13 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #29900, comment 1
initial v1 1 1 I agree that it could be more intuitive to use `f'{field.name}_{field.target_field.name}'` as attribute name. However changing it at this point would break backward compatibility for a large number of projects and require a deprecation period. 2 2 3 Also in the cases where it's the referenced primary key name that declares a different name the attribute name would be less obvious because of the implicit `to_field`. The problematic is even worse when the referenced model is declared in another app.3 Also in the cases where it's the referenced primary key that declares a different name the reference attribute name would be less obvious because of the implicit `to_field`. The problematic is even worse when the referenced model is declared in another app. 4 4 5 5 {{{#!python