foreign_key__related_fieldname documentation could be clearer
Documentation could be clearer in this area. The existing example
search_fields = ['foreign_key__related_fieldname']
is a bit confusing absent a real table and example of the sort
search_fields = [user__name]
or some such would be helpful as it took me, and I suspect many others, a bit of effort to discover the desired syntax.
Change History
(9)
Description: |
modified (diff)
|
Triage Stage: |
Unreviewed → Accepted
|
milestone: |
→ 1.3
|
Owner: |
changed from nobody to Simon Meers
|
Status: |
new → assigned
|
Triage Stage: |
Accepted → Ready for checkin
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
Clarifying example added as requested.