Opened 17 years ago

Closed 17 years ago

Last modified 15 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: no UI/UX: no

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 17 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 by Russell Keith-Magee, 17 years ago

Component: Uncategorized → Documentation
milestone: → 1.2
Triage Stage: Unreviewed → Accepted

comment:2 by Derek Willis, 17 years ago

Owner: changed from nobody to Derek Willis
Status: new → assigned

by Derek Willis, 17 years ago

Attachment: 12620.patch​ added

comment:3 by Derek Willis, 17 years ago

Triage Stage: Accepted → Ready for checkin

comment:4 by Derek Willis, 17 years ago

Has patch: set

comment:5 by Jannis Leidel, 17 years ago

Resolution: → fixed
Status: assigned → closed

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

comment:6 by Jannis Leidel, 17 years ago

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

Backport of r12462.

comment:7 by Jacob, 15 years ago

milestone: 1.2

Milestone 1.2 deleted

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