Opened 6 years ago

Closed 5 years ago

#11748 closed (fixed)

Documentation implies search_fields won't accept ManyToMany related lookups

Reported by: mtrichardson Owned by: nobody
Component: Documentation Version: 1.1
Severity: Keywords: search_fields, manytomanyfield
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

This is just an absurdly minor thing, but the documentation language around search_fields implies that you can only use related lookups with ForeignKeys. It would be more clear and explicit to include '...ForeignKey or ManyToManyField...'.

Attachments (1)

11748.1.diff (675 bytes) - added by mtrichardson 6 years ago.

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by mtrichardson

comment:1 Changed 5 years ago by timo

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Ready for checkin

comment:2 Changed 5 years ago by russellm

  • Resolution set to fixed
  • Status changed from new to closed

(In [13550]) Fixed #11748 -- Clarified the ways that search_field can be used. Thanks to Michael Richardson for the patch.

Note: See TracTickets for help on using tickets.
Back to Top