Roundup Tracker - Issues

Message5192

Author ber
Recipients antmail, ber, pcaulagi, shammash
Date 2015-01-21.07:35:00
Message-id <1421825701.29.0.991478150176.issue2550811@psf.upfronthosting.co.za>
In-reply-to
The solution sketched in my roundup-r4962-issue811-ber1.patch
will not be good enough. The problem is: functions like .plain() 
will be called from within templating.py as well, so we get a mixture
of str and unicode objects and some functions do not like unicode 
objects.
For example urllib.quote will not like them and barf.

I've also tested solutions using functions like .plainu(), but this will get too 
ugly. So I believe the solution should be to use a custom jinja2 filter to do 
unicode conversion on each variable call. 

Note that some objects will just be called from jinja2 and then use str() to 
get its string value. Example {{context.title}}
History
Date User Action Args
2015-01-21 07:35:01bersetmessageid: <1421825701.29.0.991478150176.issue2550811@psf.upfronthosting.co.za>
2015-01-21 07:35:01bersetrecipients: + ber, pcaulagi, shammash, antmail
2015-01-21 07:35:01berlinkissue2550811 messages
2015-01-21 07:35:00bercreate