Code

Opened 5 months ago

Closed 5 months ago

#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."

Attachments (0)

Change History (5)

comment:1 Changed 5 months ago by cjerdonek

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

comment:2 Changed 5 months ago by timo

  • Triage Stage changed from Unreviewed to Accepted

comment:3 Changed 5 months ago by chomik

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

comment:4 Changed 5 months ago by chomik

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

comment:5 Changed 5 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.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.