if a template variable is unicode, and as I using cut filter, it'll throw error, and I checked the source code, I found:
def cut(value, arg): "Removes all values of arg from the given string" return value.replace(arg, '') And I also found most filter function have added str() to convert value to string type. So I think it's a mistake. Isn't it? -- I like python! UliPad <<The Python Editor>>: http://wiki.woodpecker.org.cn/moin/UliPad My Blog: http://www.donews.net/limodou --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---