Opened 2 years ago

Closed 2 years ago

#22405 closed Cleanup/optimization (fixed)

Errata in Development documentation

Reported by: anonymous Owned by: ANUBHAV JOSHI
Component: Documentation Version: master
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 2 years ago.
error demonstration

Download all attachments as: .zip

Change History (3)

Changed 2 years ago by anonymous

Attachment: errata.PNG added

error demonstration

comment:1 Changed 2 years ago by ANUBHAV JOSHI

Has patch: set
Needs documentation: unset
Needs tests: unset
Owner: changed from nobody to ANUBHAV JOSHI
Patch needs improvement: unset
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 Changed 2 years ago by Tim Graham

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