(expiry=DEFAULT_EXPIRY)
return quickcache(vary_on=_custom_vary_on,
                      timeout=expiry, helper_class=_ReportQuickCacheHelper)
A decorator that can be used on a method of a GenericReportView subclass

    or any other class that provides the following properties:
      - self.request (a django request object, with .domain and .couch_user)
      - self.is_cacheable (boolean)
A decorator that can be used on a method of a GenericReportView subclass
A decorator that can be used on a method of a GenericReportView subclass
def request_cache(expiry=DEFAULT_EXPIRY):
    """
    A decorator that can be used on a method of a GenericReportView subclass

    or any other class that provides the following properties:
      - self.request (a django request object, with .domain and .couch_user)
      - self.is_cacheable (boolean)

    """

    return quickcache(vary_on=_custom_vary_on,
                      timeout=expiry, helper_class=_ReportQuickCacheHelper)
def request_cache ( expiry = DEFAULT_EXPIRY ) : return quickcache ( vary_on = _custom_vary_on , timeout = expiry , helper_class = _ReportQuickCacheHelper )