Fix settings tag, for usage in templates
unicode() is replaced by 'str()' in Python 3
see 60e84a4a65f9100d94238b4ab1b62532e36ab50c
pip patacrep typo