]> git.rm.cloudns.org Git - xonotic/xonstat.git/commit
Move MapCapTime and PlayerCapTime to models.
authorAnt Zucaro <azucaro@gmail.com>
Sat, 16 Jan 2016 22:36:56 +0000 (17:36 -0500)
committerAnt Zucaro <azucaro@gmail.com>
Sat, 16 Jan 2016 22:36:56 +0000 (17:36 -0500)
commit6b32382a09f8479340c519b65929bb6822d86b3e
tree78cf78a016899b2c415e048d1b6f333d0c8bdb38
parent2f2721d2def98b4322e694fab64f95d1ce1e8b6a
Move MapCapTime and PlayerCapTime to models.

The more I thought about it, the more I think that these two classes should
live inside the models module. They are nothing more than models for views. So
what if they aren't object-relational!
xonstat/models.py
xonstat/views/map.py
xonstat/views/player.py