Mercurial > libervia-web
diff server_side/blog.py @ 15:78bfc398926b
public blog is now shown i reverse order
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 09 Apr 2011 13:14:39 +0200 |
parents | 513fe9bd0665 |
children | 9d8e79ac4c9c |
line wrap: on
line diff
--- a/server_side/blog.py Thu Apr 07 22:27:36 2011 +0200 +++ b/server_side/blog.py Sat Apr 09 13:14:39 2011 +0200 @@ -74,6 +74,7 @@ <body> <div class='mblog_title'>%(user)s</div> """ % {'user':user}) + mblog_data.reverse() for entry in mblog_data: timestamp = float(entry.get('timestamp',0)) _datetime = datetime.fromtimestamp(timestamp)