@staticmethod<EOL><INDENT>def set_to_cache(vk):<DEDENT>
v, k = vk<EOL>try:<EOL><INDENT>cache.set(k, json.dumps(v), settings.CACHE_EXPIRE_DURATION)<EOL><DEDENT>except Exception as e:<EOL><INDENT>pass<EOL><DEDENT>return v, k<EOL>
Args:
    vk (tuple): obj data (dict), obj key(str)

Return:
    tuple: value (dict), key (string)