summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGabriel Hurley <gabehr@gmail.com>2011-05-18 20:12:15 +0000
committerGabriel Hurley <gabehr@gmail.com>2011-05-18 20:12:15 +0000
commit49f4a28cce1a3325c6c0182005cc7daf2959bc82 (patch)
tree6e7846e3eebc58e917f46bdc07e83b175b9d79fe /docs
parente1dfa95cd1619ac02cc010c3d3b1ab6b6ad85063 (diff)
[1.3.X] Fixed #16044 -- Corrected a copy-and-paste error in the opening paragraph of the views topic guide. Thanks to aplanas for the report and suggested wording.
Backport of [16240] from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16241 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/http/views.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/topics/http/views.txt b/docs/topics/http/views.txt
index 562be533ab..cfdd00817b 100644
--- a/docs/topics/http/views.txt
+++ b/docs/topics/http/views.txt
@@ -8,9 +8,9 @@ of a Web page, or a redirect, or a 404 error, or an XML document, or an image .
. . or anything, really. The view itself contains whatever arbitrary logic is
necessary to return that response. This code can live anywhere you want, as long
as it's on your Python path. There's no other requirement--no "magic," so to
-speak. For the sake of putting the code *somewhere*, let's create a file called
-``views.py`` in the ``mysite`` directory, which you created in the previous
-chapter.
+speak. For the sake of putting the code *somewhere*, the convention is to
+put views in a file called ``views.py``, placed in your project or
+application directory.
A simple view
=============
@@ -47,7 +47,7 @@ Let's step through this code one line at a time:
exceptions, but we'll get to those later.)
.. admonition:: Django's Time Zone
-
+
Django includes a ``TIME_ZONE`` setting that defaults to
``America/Chicago``. This probably isn't where you live, so you might want
to change it in your settings file.