Author: julien
Date: 2011-08-22 21:10:15 -0700 (Mon, 22 Aug 2011)
New Revision: 16660
Modified:
django/trunk/docs/intro/tutorial02.txt
Log:
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.
Modified: django/trunk/docs/intro/tutorial02.txt
===================================================================
--- django/trunk/docs/intro/tutorial02.txt 2011-08-23 04:08:24 UTC (rev
16659)
+++ django/trunk/docs/intro/tutorial02.txt 2011-08-23 04:10:15 UTC (rev
16660)
@@ -405,14 +405,14 @@
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.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.