FYI:
this is a heavy get, we need caching, I have a Cached decorator here: https://github.com/charliezhang/nich01as-us/blob/master/libs/cache.py
In future, we need a loadtester to estimate db request volume:
https://github.com/charliezhang/nich01as-us/blob/master/loadtest/loadtest.py 
Let's discussion in person. we can have this diff checked in first :)