UnicodeEncodeError at /
'ascii' codec can't encode character u'\xd6' in position 0: ordinal not in range(128)
# -*- coding: utf-8 -*-
import sys
reload(sys)
sys.setdefaultencoding('utf-8')
--
Bu iletiyi Google Grupları'ndaki "Python Istanbul" grubuna abone olduğunuz için aldınız.
Bu grubun aboneliğinden çıkmak ve bu gruptan artık e-posta almamak için python-istanb...@googlegroups.com adresine e-posta gönderin.
Daha fazla seçenek için https://groups.google.com/d/optout adresini ziyaret edin.
--
--
Bu iletiyi Google Grupları'ndaki "Python Istanbul" grubunda bir konuya abone olduğunuz için aldınız.
Bu konunun aboneliğinden çıkmak için https://groups.google.com/d/topic/python-istanbul/_ZkUfybBOLc/unsubscribe adresine gidin.
Bu grubun ve tüm konularının aboneliğinden çıkmak için python-istanb...@googlegroups.com adresine e-posta gönderin.
def __unicode__(self):return self.title
def __str__(self):return unicode(self).encode('utf-8')