changeset 6:8fb20b780341

correct and document middleware class defaults
author Jeff Hammel <jhammel@mozilla.com>
date Wed, 05 May 2010 22:12:25 -0700
parents bf4c763b0313
children 52208e38e5b3
files taginthemiddle/middleware.py
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/taginthemiddle/middleware.py	Wed May 05 22:10:30 2010 -0700
+++ b/taginthemiddle/middleware.py	Wed May 05 22:12:25 2010 -0700
@@ -19,10 +19,10 @@
     # instance defaults
     defaults = { 'auto_reload': 'False',
                  'template_dirs': '',
-                 'patterns': '*'
-                 'tags_file': None,
-                 'tags_url': 'tags',
-                 'post_url': '.tags',
+                 'patterns': '*', # glob pattern: all URLs by default
+                 'tags_file': None, 
+                 'tags_url': 'tags', # base URL for viewing tags
+                 'post_url': '.tags', # sub-URL for posting tags
                  'author': None, # for RSS
                  }