Changeset 4923
- Timestamp:
- 04/04/07 08:25:53 (2 years ago)
- Files:
-
- django/trunk/django/utils/encoding.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/django/utils/encoding.py
r4918 r4923 7 7 # already be encoded in DEFAULT_CHARSET on evaluation and we don't want 8 8 # to evaluate it until render time. 9 # FIXME: This isn't totally consistent, because it eventually returns a 10 # bytestring rather than a unicode object. It works wherever we use 11 # smart_unicode() at the moment. Fixing this requires work in the 12 # i18n internals. 9 13 return s 10 14 if not isinstance(s, basestring,):
