How to make django admin site support non-standard American English characters -


is there way admin site support special characters ó á ¿?, etc ? every time want update textfield, using admin site, containing nonenglish characters 'ascii' codec can't encode character u'\xbf'

is there way change that?

edit 1: adding details model

class question(models.model):     question = models.textfield() 

and question register on admin.site, when want save text similar "¿cúal fue la descripción?" , click on save error page message:

'ascii' codec can't encode character u'\xbf' 

so had add model:

def __unicode__(self):         return u'%s' %(self.question) 

Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -