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

swift - Button on Table View Cell connected to local function -

dns - Dokku server hosts two sites with TLD's, both domains are landing on only one app -

c# - ajax - How to receive data both html and json from server? -