diff taginthemiddle/middleware.py @ 6:8fb20b780341

correct and document middleware class defaults
author Jeff Hammel <jhammel@mozilla.com>
date Wed, 05 May 2010 22:12:25 -0700
parents 1182315b18ac
children 1701e5b0b0eb
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
                  }