Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#26806 closed Cleanup/optimization (fixed)

Form field default cleaning example docstrings are not triple quoted

Reported by: johnthagen Owned by: Anderson Resende
Component: Documentation Version: 1.9
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

https://docs.djangoproject.com/en/1.9/ref/forms/validation/#form-field-default-cleaning

Seems like the two strings that start each of the examples are meant to be docstrings, but they are only single quoted instead of triple quoted as one would expect for docstrings.

Change History (5)

comment:1 by Baptiste Mispelon, 8 years ago

Triage Stage: UnreviewedAccepted

Indeed, those docstrings should be triple quoted.

Thanks for reporting this.

comment:2 by Anderson Resende, 8 years ago

Owner: changed from nobody to Anderson Resende
Status: newassigned

comment:3 by Tim Graham <timograham@…>, 8 years ago

Resolution: fixed
Status: assignedclosed

In 2032bcf:

Fixed #26806 -- Triple quoted docstrings in docs/ref/forms/validation.txt.

comment:4 by Tim Graham <timograham@…>, 8 years ago

In b752eae7:

[1.10.x] Fixed #26806 -- Triple quoted docstrings in docs/ref/forms/validation.txt.

Backport of 2032bcf18280a875a59a39cf85c226da0a310d11 from master

comment:5 by Tim Graham <timograham@…>, 8 years ago

In 4be49ff3:

[1.9.x] Fixed #26806 -- Triple quoted docstrings in docs/ref/forms/validation.txt.

Backport of 2032bcf18280a875a59a39cf85c226da0a310d11 from master

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