Opened 18 years ago
Last modified 14 years ago
#7284 closed
foreign_key__related_fieldname documentation could be clearer — at Version 1
| Reported by: | 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 )
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.
Note:
See TracTickets
for help on using tickets.