Пример #1
0
def api_karma(request):
    stuff = request.context.stuff
    karma = get_karma(stuff)
    return {'stuff': stuff,
            'karma': karma}
Пример #2
0
 def _callFUT(self, *args, **kwargs):
     from karmaid.karma import get_karma
     return get_karma(*args, **kwargs)