Code

Opened 3 years ago

Closed 3 years ago

Last modified 3 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 3 years ago.
a svn diff of my suggested solution

Download all attachments as: .zip

Change History (4)

Changed 3 years ago by michaeltomkins

a svn diff of my suggested solution

comment:1 Changed 3 years ago by julien

  • Resolution set to fixed
  • Status changed from new to closed

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 3 years ago by michaeltomkins

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

comment:3 Changed 3 years ago by julien

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.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.