summaryrefslogtreecommitdiff
path: root/docs/intro/tutorial02.txt
diff options
context:
space:
mode:
authorJulien Phalip <jphalip@gmail.com>2011-08-23 04:10:15 +0000
committerJulien Phalip <jphalip@gmail.com>2011-08-23 04:10:15 +0000
commit966bbd4d56fa6f61ac40013a4e66b180eac44dea (patch)
treeb992cc6ad4e9b0e820c62ea5e2b02eddf79735d1 /docs/intro/tutorial02.txt
parenta5cbb892f8206c8f4ae8fd1bcff93b8251e6264e (diff)
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.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16660 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/intro/tutorial02.txt')
-rw-r--r--docs/intro/tutorial02.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/intro/tutorial02.txt b/docs/intro/tutorial02.txt
index 7d2ce4fc1d..2c625a73a5 100644
--- a/docs/intro/tutorial02.txt
+++ b/docs/intro/tutorial02.txt
@@ -405,14 +405,14 @@ By default, :setting:`TEMPLATE_DIRS` is empty. So, let's add a line to it, to
tell Django where our templates live::
TEMPLATE_DIRS = (
- "/home/my_username/mytemplates", # Change this to your own directory.
+ '/home/my_username/mytemplates', # Change this to your own directory.
)
Now copy the template ``admin/base_site.html`` from within the default Django
admin template directory in the source code of Django itself
(``django/contrib/admin/templates``) into an ``admin`` subdirectory of
whichever directory you're using in :setting:`TEMPLATE_DIRS`. For example, if
-your :setting:`TEMPLATE_DIRS` includes ``"/home/my_username/mytemplates"``, as
+your :setting:`TEMPLATE_DIRS` includes ``'/home/my_username/mytemplates'``, as
above, then copy ``django/contrib/admin/templates/admin/base_site.html`` to
``/home/my_username/mytemplates/admin/base_site.html``. Don't forget that
``admin`` subdirectory.