Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #16044 -- Corrected a copy-and-paste error in the opening parag…

…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...
commit 840530cc55e0dedd637f81738ed8f9c27baba467 1 parent 8ecda07
authored

Showing 1 changed file with 4 additions and 4 deletions. Show diff stats Hide diff stats

  1. 8  docs/topics/http/views.txt
8  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 .
8 8
 . . or anything, really. The view itself contains whatever arbitrary logic is
9 9
 necessary to return that response. This code can live anywhere you want, as long
10 10
 as it's on your Python path. There's no other requirement--no "magic," so to
11  
-speak. For the sake of putting the code *somewhere*, let's create a file called
12  
-``views.py`` in the ``mysite`` directory, which you created in the previous
13  
-chapter.
  11
+speak. For the sake of putting the code *somewhere*, the convention is to
  12
+put views in a file called ``views.py``, placed in your project or
  13
+application directory.
14 14
 
15 15
 A simple view
16 16
 =============
@@ -47,7 +47,7 @@ Let's step through this code one line at a time:
47 47
       exceptions, but we'll get to those later.)
48 48
 
49 49
 .. admonition:: Django's Time Zone
50  
-    
  50
+
51 51
     Django includes a ``TIME_ZONE`` setting that defaults to
52 52
     ``America/Chicago``. This probably isn't where you live, so you might want
53 53
     to change it in your settings file.

0 notes on commit 840530c

Please sign in to comment.
Something went wrong with that request. Please try again.