Code

Opened 4 years ago

Closed 4 years ago

Last modified 3 years ago

#12620 closed (fixed)

"defer" docs refer to non-existant "Entry.lede" field

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

Description

In [10090], example code was added to the QuerySets docs including lines like:

    Entry.objects.defer("lede", "body")

I cannot work out what this "lede" refers to, there is no field on the Entry model of that name. Also, the "body" field should probably be "body_text". The Entry model is defined in queries.txt

Attachments (1)

12620.patch (1.8 KB) - added by dwillis 4 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 4 years ago by russellm

  • Component changed from Uncategorized to Documentation
  • milestone set to 1.2
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 4 years ago by dwillis

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

Changed 4 years ago by dwillis

comment:3 Changed 4 years ago by dwillis

  • Triage Stage changed from Accepted to Ready for checkin

comment:4 Changed 4 years ago by dwillis

  • Has patch set

comment:5 Changed 4 years ago by jezdez

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

(In [12462]) Fixed #12620 - Refer to better fieldname in defer docs. Thanks, dwillis.

comment:6 Changed 4 years ago by jezdez

(In [12479]) [1.1.X] Fixed #12620 - Refer to better fieldname in defer docs. Thanks, dwillis.

Backport of r12462.

comment:7 Changed 3 years ago by jacob

  • milestone 1.2 deleted

Milestone 1.2 deleted

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.