Opened 3 years ago

Closed 3 years ago

#21884 closed Cleanup/optimization (fixed)

field lookup docs don't say exact is default behavior

Reported by: Chris Jerdonek 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 3 years ago by Chris Jerdonek

Cc: chris.jerdonek@… added
Easy pickings: set

comment:2 Changed 3 years ago by Tim Graham

Triage Stage: UnreviewedAccepted

comment:3 Changed 3 years ago by chomik

Owner: changed from nobody to chomik
Status: newassigned

comment:4 Changed 3 years ago by chomik

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

comment:5 Changed 3 years ago by chomik <to.chomik@…>

Resolution: fixed
Status: assignedclosed

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