# HG changeset patch # User Jeff Hammel # Date 1273122745 25200 # Node ID 8fb20b78034147771ad5e59f60146b7cc21d8b18 # Parent bf4c763b03133940778e4aa49f702f4c2dfe0477 correct and document middleware class defaults diff -r bf4c763b0313 -r 8fb20b780341 taginthemiddle/middleware.py --- 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 }