

@classmethod
def get_log_value(cls, user, varname):
    '\n        Get most recent log value with given varname.\n        '
    logs = Log.objects.filter(user=cls, varname=varname).order_by('-stamp')
    return ((logs.exists() and logs[0].value) or None)

dataset/ETHPy150Open orcasgit/django-request-log/log/models.py Log.get_log_value/VarMisuse@29/53 `user`->`cls`