def cache_key_prefix(request):
 cache_key = (u'%s.%s.%s.' % (settings.CACHE_MIDDLEWARE_KEY_PREFIX, current_site_id(), (device_from_request(request) or u'default')))
 return _i18n_cache_key_suffix(request, cache_key)

def cache_key_prefix ( request ) : cache_key = ( u'%s.%s.%s.' % ( settings . CACHE_MIDDLEWARE_KEY_PREFIX , current_site_id ( ) , ( device_from_request ( request ) or u'default' ) ) ) return _i18n_cache_key_suffix ( request , cache_key )
cache key for mezzanines cache middleware .