@timgraham you suggested the use of `six.text_types` here but that didn't work. This one correctly returns `True` if the setting is a string (even if it is a unicode string).