def get_key(postfix=""):
    """
    Return key for memcached
    :param postfix: postfix key
    :type postfix: basestring
    """
    domain = getattr(settings, 'CURRENT_DOMAIN', 'default')
    key = "treeio_%s_chat_%s" % (domain, postfix)
    return key
dataset/ETHPy150Open treeio/treeio/treeio/core/middleware/chat.py/get_key/original