Django Admin interface crashes with.

52 views
Skip to first unread message

Rick Caudill

unread,
Nov 12, 2009, 4:06:12 PM11/12/09
to Django users
Hi Everyone,

This is my first time posting but I have been using Django for about a
year now and love it. I am having one problem that I can't solve
though and it is taking too long so I thought I would ask and see if
someone can help me. So I have a Admin interface that is crashing.
The error that I am getting is:


DjangoUnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in
position 5: ordinal not in range(128). You passed in
<django.forms.forms.BoundField object at 0x7f1808284710> (<class
'django.forms.forms.BoundField'>)




Can anyone help with this????

Matt Schinckel

unread,
Nov 12, 2009, 7:55:03 PM11/12/09
to Django users
It looks like you have a non-ascii character in your source file, or
some data that is in your database.

Matt.

Rick Caudill

unread,
Nov 12, 2009, 10:40:20 PM11/12/09
to django...@googlegroups.com
I do have non-ascii data in my database.  That is allowed, right???




--

You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=.



Karen Tracey

unread,
Nov 12, 2009, 10:54:55 PM11/12/09
to django...@googlegroups.com
On Thu, Nov 12, 2009 at 10:40 PM, Rick Caudill <cau...@gmail.com> wrote:
I do have non-ascii data in my database.  That is allowed, right???


Certainly.  Perhaps if you gave a few more clues someone could help.

What are you doing in the admin interface when the exception is raised?

If the activity is obviously tied to a particular model (adding, changing), how is that model defined?  If you have specified any customized forms for the admin for this model, they would be helpful to see also.

What is the full traceback that goes with the error?

Karen

Matt Schinckel

unread,
Nov 12, 2009, 11:14:56 PM11/12/09
to Django users
On Nov 13, 1:40 pm, Rick Caudill <cau0...@gmail.com> wrote:
> I do have non-ascii data in my database.  That is allowed, right???

Yeah, in general. What appears to be happening here (and Karen is
right, we need more to go on), but data that is being loaded into a
DecimalField contains non-ascii data.

Matt.
Reply all
Reply to author
Forward
0 new messages