Opened 11 years ago

Closed 11 years ago

#22405 closed Cleanup/optimization (fixed)

Errata in Development documentation

Reported by: anonymous Owned by: ANUBHAV JOSHI
Component: Documentation Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

A small errata in the development docs.

the string
Reporter.objects.all().update(stories_filed=F('stories_filed) + 1)

does not enclose "stories_filed" in complete string .

The code above this string is correct. It's a small errata nothing serious and one can easily remedy this.

Attachments (1)

errata.PNG (92.8 KB ) - added by anonymous 11 years ago.
error demonstration

Download all attachments as: .zip

Change History (3)

by anonymous, 11 years ago

Attachment: errata.PNG added

error demonstration

comment:1 by ANUBHAV JOSHI, 11 years ago

Has patch: set
Owner: changed from nobody to ANUBHAV JOSHI
Status: newassigned
Type: UncategorizedCleanup/optimization
Version: 1.7-beta-1master

https://github.com/django/django/pull/2526

I think this should apply to master and also backported to 1.7b1.

comment:2 by Tim Graham, 11 years ago

Resolution: fixed
Status: assignedclosed
Triage Stage: UnreviewedAccepted

In 36de29200e1ea713c278f7672ab1790e1500c423:

Fixed #22405 -- Fixed string error in models/queries docs.

Backported to 1.7.x in 61b7fcf4783178e5212688d34449f8204e40082a.

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