diff bitsyblog/factory.py @ 58:b97d11e2cf41

* document defaults * allow text blogs * begin replacing the annoying get_response objects
author k0s <k0scist@gmail.com>
date Sun, 27 Dec 2009 01:25:38 -0500
parents 3ddb2ca12178
children 0af1f4ae328d
line wrap: on
line diff
--- a/bitsyblog/factory.py	Sat Dec 26 22:37:34 2009 -0500
+++ b/bitsyblog/factory.py	Sun Dec 27 01:25:38 2009 -0500
@@ -4,7 +4,14 @@
 from paste.httpexceptions import HTTPExceptionHandler
 
 # accepted configuration keys, e.g. 'bitsyblog.file_dir'
-config = [ 'file_dir', 'date_format', 'subject', 'n_links', 'help_file', 'header', 'template_directories' ]
+config = set(['file_dir', 
+              'date_format', 
+              'subject', 
+              'n_links', 
+              'help_file', 
+              'header', 
+              'template_directories', 
+              'feed_items'])
 
 def factory(global_conf, **app_conf):
     """make bitsyauth app and wrap it in middleware"""