Opened 17 years ago

Last modified 13 years ago

#7284 closed

foreign_key__related_fieldname documentation could be clearer — at Version 1

Reported by: rbell01824@… Owned by: nobody
Component: Documentation Version: dev
Severity: Keywords: foreign_key
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Ramiro Morales)

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 (1)

comment:1 by Ramiro Morales, 17 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top