I always try to use interpolation for strings.

msg = '%s%s' % (document.title, 'world')
response.flash(msg.upper())

Reply via email to