Uh, I know it`s an encoding problem, I was hoping there was a way of changing default charset for that app.
Em quarta-feira, 26 de junho de 2013 10h16min02s UTC-3, Odin escreveu: > > Think it's an encode problem. I never use this app but try to add this > line o top of your views file: > > # -*- coding: utf-8 -*- > > > 2013/6/26 Jaimerson Leandro Amaro de Araújo <jaimers...@gmail.com<javascript:> > > > >> (I posted this on django-admin-tools mail list, but apparently there's no >> one alive there) >> >> >> Hello, I'm stuck in a encoding issue, on the dashboard template. Some of >> my models have fields with non-ascii characters (like "à" or "á"), and when >> I try to load the page, I get the following error: >> DjangoUnicodeDecodeError at / >> >> 'ascii' codec can't decode byte 0xc3 in position 5: ordinal not in >> range(128). >> You passed in <django.utils.functional.__**proxy__ object at 0xb581d98c> >> (<class 'django.utils.functional.__**proxy__'>) >> >> [...] >> Unicode error hint >> >> The string that could not be encoded/decoded was: *Conte��do* >> Please, advise. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to django-users...@googlegroups.com <javascript:>. >> To post to this group, send email to django...@googlegroups.com<javascript:> >> . >> Visit this group at http://groups.google.com/group/django-users. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. For more options, visit https://groups.google.com/groups/opt_out.