model_report/report.py
def cache_return(fun):
    """
    Usages of this decorator have been removed from the ReportAdmin base class.

    Caching method returns gets in the way of customization at the implementation level
    now that report instances can be modified based on request data.
    """
    def wrap(self, *args, **kwargs):
        cache_field = '%s_%s' % (self.__class__.__name__, fun.func_name)
        if cache_field in _cache_class:
            return _cache_class[cache_field]
        result = fun(self, *args, **kwargs)
        _cache_class[cache_field] = result
        return result
    return wrap

    Usages of this decorator have been removed from the ReportAdmin base class.

    Caching method returns gets in the way of customization at the implementation level
    now that report instances can be modified based on request data.
    
Usages of this decorator have been removed from the ReportAdmin base class.
Caching method returns gets in the way of customization at the implementation level
now that report instances can be modified based on request data.
Usages of this decorator have been removed from the ReportAdmin base class . Caching method returns gets in the way of customization at the implementation level now that report instances can be modified based on request data .
def cache_return(fun):
    def wrap(self, *args, **kwargs):
        cache_field = '%s_%s' % (self.__class__.__name__, fun.func_name)
        if cache_field in _cache_class:
            return _cache_class[cache_field]
        result = fun(self, *args, **kwargs)
        _cache_class[cache_field] = result
        return result
    return wrap
def cache_return ( fun ) : def wrap ( self , * args , ** kwargs ) : cache_field = '%s_%s' % ( self . __class__ . __name__ , fun . func_name ) if cache_field in _cache_class : return _cache_class [ cache_field ] result = fun ( self , * args , ** kwargs ) _cache_class [ cache_field ] = result return result return wrap
Usages of this decorator have been removed from the ReportAdmin base class.
Usages of this decorator have been removed from the ReportAdmin base class .
"""
    Usages of this decorator have been removed from the ReportAdmin base class.

    Caching method returns gets in the way of customization at the implementation level
    now that report instances can be modified based on request data.
    """
fun