Changes between Initial Version and Version 1 of Ticket #28175
- Timestamp:
- May 5, 2017, 5:57:59 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #28175 – Description
initial v1 30 30 31 31 It's not clear to me from the docs whether the 1.10 behavior was intended, though. 32 33 It appears that adding the lines 34 {{{ 35 elif getattr(self.lhs.field.target_field, 'primary_key', False): 36 target_field = 'pk' 37 }}} 38 to django/db/models/fields/related_lookups.py at line 92 fixes this problem.