#21884 closed Cleanup/optimization (fixed)

field lookup docs don't say exact is default behavior

Reported by: cjerdonek Owned by: chomik
Component: Documentation Version: 1.6
Severity: Normal Keywords:
Cc: chris.jerdonek@… Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

The Field lookups documentation doesn't mention that exact is the default behavior. You have to go to a different introduction page to get this information, which isn't intuitive.

The reference page should include at least as much as the intro. Indeed, the intro says, "The database API supports about two dozen lookup types; a complete reference can be found in the field lookup reference."

Change History (5)

comment:1 Changed 14 months ago by cjerdonek

  • Cc chris.jerdonek@… added
  • Easy pickings set
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

comment:2 Changed 14 months ago by timo

  • Triage Stage changed from Unreviewed to Accepted

comment:3 Changed 14 months ago by chomik

  • Owner changed from nobody to chomik
  • Status changed from new to assigned

comment:4 Changed 14 months ago by chomik

Pull request https://github.com/django/django/pull/2293 waiting for review and acceptance.

comment:5 Changed 14 months ago by chomik <to.chomik@…>

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

In 985ae732b2fbb073a7c98ff857f463449345df27:

Fixed #21884 -- Mentioned that exact is the defaut QuerySet lookup type

Thanks to cjerdonek for the suggestion.

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