Author: gabrielhurley
Date: 2011-05-18 13:12:15 -0700 (Wed, 18 May 2011)
New Revision: 16241
Modified:
django/branches/releases/1.3.X/docs/topics/http/views.txt
Log:
[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.
Modified: django/branches/releases/1.3.X/docs/topics/http/views.txt
===================================================================
--- django/branches/releases/1.3.X/docs/topics/http/views.txt 2011-05-18
20:10:41 UTC (rev 16240)
+++ django/branches/releases/1.3.X/docs/topics/http/views.txt 2011-05-18
20:12:15 UTC (rev 16241)
@@ -8,9 +8,9 @@
. . 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 @@
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.
--
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.