'repr' is correct because I want to get a string (or unicode object) inside a string because I want to write a string (or unicode object) with quotes into the settings file, not only the content.