]> git.rm.cloudns.org Git - xonotic/xonstat.git/commit
Allow player view functions to be imported.
authorAnt Zucaro <azucaro@gmail.com>
Sat, 30 Jun 2012 10:49:07 +0000 (06:49 -0400)
committerAnt Zucaro <azucaro@gmail.com>
Sat, 30 Jun 2012 10:49:07 +0000 (06:49 -0400)
commit9f4a482f6194a036232e55b6e6917305ab98589c
treea6476cea2f5053c81a7a0f81d6d86b3f5a957836
parentc259baac03d45565db88e8215dbb5091511b4273
Allow player view functions to be imported.

Prefixing the real data functions with '_' prevents
them from being imported by outside applications.
At first I thought this was a feature, then I realized
that there is really no harm to exposing them if needed.
Such a need developed for player badges, so I'm exposing
the views here. More will follow.
xonstat/views/player.py