Mercurial > hg > bitsyblog
changeset 34:2a43e43a7e4d
comment cleanup
author | k0s <k0scist@gmail.com> |
---|---|
date | Sun, 01 Nov 2009 01:51:14 -0400 |
parents | 89f5158ef191 |
children | 7e7fbdc64cc1 |
files | bitsyblog/bitsyblog.py |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/bitsyblog/bitsyblog.py Sun Nov 01 01:38:57 2009 -0400 +++ b/bitsyblog/bitsyblog.py Sun Nov 01 01:51:14 2009 -0400 @@ -114,6 +114,7 @@ return res def logo(self, request): + """link to the logo""" _logo = 'bitsyblog.png' # TODO: should go to self.logo logo = os.path.join(self.file_dir, _logo) if os.path.exists(logo): @@ -338,7 +339,6 @@ datestamp = utils.datestamp(dates[i]) self.blog.post(user, datestamp, entries[i], 'public') - # TODO: redirect to index page return exc.HTTPOk("%s posts blogged" % len(entries)) @@ -400,7 +400,7 @@ name = None return name, path - ### methods + ### methods for linking and URLs def link(self, request, path='', permanant=False): if isinstance(path, basestring): @@ -515,7 +515,7 @@ # get the blog return self.blog.entries(user, allowed, *path) - ### methods that write HTML + ### methods for markup def stylesheets(self, request): user = getattr(request, 'user', None) @@ -723,7 +723,7 @@ print >> retval, '</feed>' return retval.getvalue() - ### forms and accompanying display + ### forms def form_post(self, request, user):