Opened 7 years ago

Closed 7 years ago

Last modified 5 years ago

#12620 closed (fixed)

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

Reported by: Luke Plant Owned by: Derek Willis
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 Derek Willis 7 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 7 years ago by Russell Keith-Magee

Component: UncategorizedDocumentation
milestone: 1.2
Triage Stage: UnreviewedAccepted

comment:2 Changed 7 years ago by Derek Willis

Owner: changed from nobody to Derek Willis
Status: newassigned

Changed 7 years ago by Derek Willis

Attachment: 12620.patch added

comment:3 Changed 7 years ago by Derek Willis

Triage Stage: AcceptedReady for checkin

comment:4 Changed 7 years ago by Derek Willis

Has patch: set

comment:5 Changed 7 years ago by Jannis Leidel

Resolution: fixed
Status: assignedclosed

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

comment:6 Changed 7 years ago by Jannis Leidel

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

Backport of r12462.

comment:7 Changed 5 years ago by Jacob

milestone: 1.2

Milestone 1.2 deleted

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