Opened 10 years ago

Closed 10 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 by Chris Jerdonek, 10 years ago

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

comment:2 by Tim Graham, 10 years ago

Triage Stage: UnreviewedAccepted

comment:3 by chomik, 10 years ago

Owner: changed from nobody to chomik
Status: newassigned

comment:4 by chomik, 10 years ago

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

comment:5 by chomik <to.chomik@…>, 10 years ago

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