From: Nelson Elhage Date: Wed, 30 Dec 2009 16:05:22 +0000 (-0500) Subject: Sort users by username. X-Git-Url: https://projects.mako.cc/source/iron-blogger/commitdiff_plain/f9c9b151adae0708ef3b01cd2ecb51208e0a8484 Sort users by username. --- diff --git a/templates/users.tmpl b/templates/users.tmpl index 0c58f20..9971306 100644 --- a/templates/users.tmpl +++ b/templates/users.tmpl @@ -4,7 +4,7 @@ Blog link Start Week -% for u in userlist: +% for u in sorted(userlist, key=lambda u:u.username): ${u.username}