(self, view_name, params=None)
return cache_view_key
view_name = "design_doc/viewname"
        if params is dict, then make param_string
        if params is '*' it's a wildcard
view_name = "design_doc/viewname"
        if params is dict, then make param_string
        if params is '*' it's a wildcard
view_name = design_doc / viewname if params is dict then make param_string if params is * it s a wildcard
def _mk_view_cache_key(self, view_name, params=None):
        """
        view_name = "design_doc/viewname"
        if params is dict, then make param_string
        if params is '*' it's a wildcard
        """
        param_string = ""
        if isinstance(params, dict):
            param_string = http.urlquote('|'.join(["%s::%s" % (k, v) for k, v in params.items()]))
        elif params == '*':
            param_string = params

        cache_view_key = ':'.join([
            self._get_generation(),
            CACHED_VIEW_PREFIX,
            view_name,
            param_string,
        ])
        return cache_view_key
def _mk_view_cache_key ( self , view_name , params = None ) : param_string = "" if isinstance ( params , dict ) : param_string = http . urlquote ( '|' . join ( [ "%s::%s" % ( k , v ) for k , v in params . items ( ) ] ) ) elif params == '*' : param_string = params cache_view_key = ':' . join ( [ self . _get_generation ( ) , CACHED_VIEW_PREFIX , view_name , param_string , ] ) return cache_view_key