]> git.xonotic.org Git - xonotic/xonstat.git/commit
Refactor the "top <blah>" tables on the front page, cache them.
authorAnt Zucaro <azucaro@gmail.com>
Sat, 22 Dec 2012 21:57:46 +0000 (16:57 -0500)
committerJan Behrens <zykure@web.de>
Sun, 23 Dec 2012 14:18:35 +0000 (15:18 +0100)
commit7fe6a156fe23fca37c646eba88e30c8541f8c149
tree22ef314e25c05178baa3a9d9cb963e0c5c8f332f
parentfdda891447025c8d24c0f0806f3bb21290ddf004
Refactor the "top <blah>" tables on the front page, cache them.

The main_index view was getting a little long, so I factored out
the "top <blah>" data queries into separate functions. I cached
those functions under an hourly term while I was at it.
xonstat/views/main.py