Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Tiny docstring cleanup in middleware/common.py

git-svn-id: http://code.djangoproject.com/svn/django/trunk@1096 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 7e28ba0b4cba9f9b7faed1862364a36fc964109e 1 parent d5368d3
Adrian Holovaty authored

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

  1. 9  django/middleware/common.py
9  django/middleware/common.py
@@ -11,15 +11,14 @@ class CommonMiddleware:
11 11
 
12 12
         - Forbids access to User-Agents in settings.DISALLOWED_USER_AGENTS
13 13
 
14  
-        - URL rewriting: based on the APPEND_SLASH and PREPEND_WWW settings,
15  
-          this middleware will -- shocking, isn't it -- append missing slashes
16  
-          and/or prepend missing "www."s.
  14
+        - URL rewriting: Based on the APPEND_SLASH and PREPEND_WWW settings,
  15
+          this middleware appends missing slashes and/or prepends missing "www."s.
17 16
 
18  
-        - ETags: if the USE_ETAGS setting is set, ETags will be calculated from
  17
+        - ETags: If the USE_ETAGS setting is set, ETags will be calculated from
19 18
           the entire page content and Not Modified responses will be returned
20 19
           appropriately.
21 20
 
22  
-        - Flat files: for 404 responses, a flat file matching the given path
  21
+        - Flat files: For 404 responses, a flat file matching the given path
23 22
           will be looked up and used if found.
24 23
     """
25 24
 

0 notes on commit 7e28ba0

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