Changes between Initial Version and Version 1 of Ticket #25730


Ignore:
Timestamp:
Nov 10, 2015, 9:00:51 PM (9 years ago)
Author:
Kevin Turner
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #25730 – Description

    initial v1  
    11base.py contains `from __future__ import unicode_literals`
    22
    3 so the thing that `Model.__str__` returns is a unicode object in the case where `hasattr(self, '__unicode__')` is False.
     3so the "" that `Model.__str__` returns is a unicode object in the case where `hasattr(self, '__unicode__')` is False.
    44
    55There's a `force_text().encode()` on the other case; probably both cases should use `smart_str`.
Back to Top