Mercurial > hg > bitsyblog
changeset 6:3198742f7a86
notes to self
author | k0s <k0scist@gmail.com> |
---|---|
date | Mon, 05 Oct 2009 09:20:02 -0400 |
parents | 794dac65c9b6 |
children | 57a45adf33d4 |
files | bitsyblog/bitsyblog.py |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/bitsyblog/bitsyblog.py Mon Oct 05 09:06:10 2009 -0400 +++ b/bitsyblog/bitsyblog.py Mon Oct 05 09:20:02 2009 -0400 @@ -33,6 +33,7 @@ from docutils.utils import SystemMessage from lxml import etree from markup.form import Form +from pkg_resources import resource_filename from user import FilespaceUsers from webob import Request, Response, exc @@ -52,7 +53,7 @@ 'subject': '[ %(date)s ]:', 'n_links': 5, # number of links for navigation 'site_name': 'bitsyblog', - 'help_file': None + 'help_file': None, } def __init__(self, **kw): @@ -314,7 +315,8 @@ datestamp = utils.datestamp(dates[i]) self.blog.post(user, datestamp, entries[i], 'public') - return exc.HTTPOk("%s posts blogged by bitsy" % len(entries)) + # TODO: redirect to index page + return exc.HTTPOk("%s posts blogged" % len(entries)) def error(self):