Changeset 5446
- Timestamp:
- 06/09/07 09:34:14 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/branches/unicode/django/template/defaulttags.py
r5444 r5446 5 5 from django.template import get_library, Library, InvalidTemplateLibrary 6 6 from django.conf import settings 7 from django.utils.encoding import smart_str 7 from django.utils.encoding import smart_str, smart_unicode 8 8 import sys 9 9 import re … … 60 60 continue 61 61 if value: 62 return s tr(value)63 return ''62 return smart_unicode(value) 63 return u'' 64 64 65 65 class ForNode(Node):
