2008/12/5 Will McGugan <[EMAIL PROTECTED]>

> Hi,
>
> I'm getting an 500 error in my admin site when modifying an object
> containing unicode. It seems to be an issue when constructing the change
> message. Here's the details (running on Django 1.0). Any help would be
> appreciated.
>
>
> 'ascii' codec can't decode byte 0xe2 in position 37: ordinal not in
> range(128)
>
>
> ·        /www/django-sites/itpp/itpp/django/contrib/admin/options.py in
> change_view
>
> 594.                             change_message =
> self.construct_change_message(request, form, formsets) ...
>
> ▶ Local vars
>
> ·        /www/django-sites/itpp/itpp/django/contrib/admin/options.py in
> construct_change_message
>
> 347.                                 change_message.append(_('Changed
> %(list)s for %(name)s "%(object)s".') ...
>

If you are running Python 2.3 then this may be fixed by upgrading to 1.0.2,
which includes this fix:

http://code.djangoproject.com/changeset/9384

Karen

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

Reply via email to