def to_str(self):
    'Returns the string representation of the model'
    import simplejson as json
    if six.PY2:
        import sys
        reload(sys)
        sys.setdefaultencoding('utf-8')
    return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
Returns the string representation of the model
def to_str(self):
    
    import simplejson as json
    if six.PY2:
        import sys
        reload(sys)
        sys.setdefaultencoding('utf-8')
    return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)