When trying to insert some text with non-ascii character into a TextField? from admin, Django throws this error:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/django/core/handlers/base.py" in get_response
77. response = callback(request, *callback_args, **callback_kwargs)
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/django/contrib/admin/views/decorators.py" in _checklogin
55. return view_func(request, *args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/django/views/decorators/cache.py" in _wrapped_view_func
39. response = view_func(request, *args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/django/contrib/admin/views/main.py" in change_stage
329. new_object = manipulator.save(new_data)
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/django/db/models/manipulators.py" in save
108. new_object.save()
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/polismus/aggregator/models.py" in save
59. super(UserProfile, self).save()
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/django/db/models/base.py" in save
223. db_values + [pk_val])
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/django/db/backends/util.py" in execute
19. self.db.queries.append({
UnicodeDecodeError at /admin/aggregator/userprofile/1/
'ascii' codec can't decode byte 0xc5 in position 511: ordinal not in range(128)
Maybe this can be fixed only with the Unicode branch?