Ejemplo n.º 1
0
 def f():
     return randslice(qs, limit=limit)
Ejemplo n.º 2
0
def _category_personas(qs, limit):
    f = lambda: randslice(qs, limit=limit)
    key = 'cat-personas:' + qs.query_key()
    return caching.cached(f, key)
Ejemplo n.º 3
0
def _category_personas(qs, limit):
    f = lambda: randslice(qs, limit=limit)
    key = 'cat-personas:' + qs.query_key()
    return caching.cached(f, key)