]> git.rm.cloudns.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)
committerAnt Zucaro <azucaro@gmail.com>
Sat, 22 Dec 2012 21:57:46 +0000 (16:57 -0500)
commitf5da795ffb658fddecd6b861769a71db248e4b43
tree00ab07a6883dbbc2b938ef892bcd3983bc9f4cff
parent16dc6daf4c4f6132e41f1683d036daafeb2afdc2
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