Hello,

after upgrading from 1.2.1 to 1.2.2 i get a UnicodeDecodeError using the dev 
server. It happens with a simple contact form i'm using. The error page is 
served as text, white background, no django debug screen.

Traceback (most recent call last):

  File "/path/to/django/core/servers/basehttp.py", line 280, in run
    self.result = application(self.environ, self.start_response)

  File "/path/to/django/core/servers/basehttp.py", line 674, in __call__
    return self.application(environ, start_response)

  File "/path/to/django/core/handlers/wsgi.py", line 245, in __call__
    response = middleware_method(request, response)

  File "/path/tos/django/middleware/csrf.py", line 242, in process_response
    response.content, n = _POST_FORM_RE.subn(add_csrf_field, response.content)

UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 275: 
ordinal not in range(128)

-- 
Dirk Eschler <esch...@gmail.com>

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

Reply via email to