Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#16680 closed Cleanup/optimization (fixed)

Inconsistant use of " and '

Reported by: michaeltomkins Owned by: nobody
Component: Documentation Version: master
Severity: Normal Keywords: quotes consistency documentation tutorial
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

In tutorial02 the documentation uses " instead of ' when editing the TEMPLATE_DIRS this is inconsistent with the rest of the mysite/settings.py file as developed in the tutorials. The paragraph following the code example has the same problem.

Attachments (1)

tut2.diff (1.1 KB) - added by michaeltomkins 5 years ago.
a svn diff of my suggested solution

Download all attachments as: .zip

Change History (4)

Changed 5 years ago by michaeltomkins

Attachment: tut2.diff added

a svn diff of my suggested solution

comment:1 Changed 5 years ago by Julien Phalip

Resolution: fixed
Status: newclosed

In [16660]:

Fixed #16680 -- Used single quotes for the TEMPLATE_DIRS examples in part 2 of the tutorial to be consistent with the settings.py file generated by the startproject command. Thanks, Michael Tomkins.

comment:2 Changed 5 years ago by michaeltomkins

Has patch: set
Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset

comment:3 Changed 5 years ago by Julien Phalip

In [16666]:

[1.3.X] Fixed #16680 -- Used single quotes for the TEMPLATE_DIRS examples in part 2 of the tutorial to be consistent with the settings.py file generated by the startproject command. Thanks, Michael Tomkins.

Backport of r16660 from trunk.

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