Mercurial > libervia-web
changeset 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 | 9bf8ed012adc |
children | 099c05a0dcab |
files | server_side/blog.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
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)