Django

Code

Changeset 4923

Show
Ignore:
Timestamp:
04/04/07 08:25:53 (2 years ago)
Author:
mtredinnick
Message:

Added a FIXME that I forgot to include earlier.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/utils/encoding.py

    r4918 r4923  
    77        # already be encoded in DEFAULT_CHARSET on evaluation and we don't want 
    88        # 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. 
    913        return s 
    1014    if not isinstance(s, basestring,):