Skip to content

Commit

Permalink
Fixed #16044 -- Corrected a copy-and-paste error in the opening parag…
Browse files Browse the repository at this point in the history
…raph of the views topic guide. Thanks to aplanas for the report and suggested wording.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16240 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
Gabriel Hurley committed May 18, 2011
1 parent 8ecda07 commit 840530c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/topics/http/views.txt
Expand Up @@ -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
=============
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 840530c

Please sign in to comment.