#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)
Change History (8)
comment:1 by , 15 years ago
Component: | Uncategorized → Documentation |
---|---|
milestone: | → 1.2 |
Triage Stage: | Unreviewed → Accepted |
comment:2 by , 15 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
by , 15 years ago
Attachment: | 12620.patch added |
---|
comment:3 by , 15 years ago
Triage Stage: | Accepted → Ready for checkin |
---|
comment:4 by , 15 years ago
Has patch: | set |
---|
comment:5 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:6 by , 15 years ago
Note:
See TracTickets
for help on using tickets.
(In [12462]) Fixed #12620 - Refer to better fieldname in defer docs. Thanks, dwillis.