Please report only on bug per ticket. This is two bugs:
- Passing a unicode-proxy to
HttpResponse
classes doesn't convert it to ASCII (it assumes a str or str-proxy objects will be passed in).
- Calling
create()
on a reverse ForeignKey causes problems.
I'm editing the description to describe the problem so that people don't have to work it out from the zip file and I'll open a new ticket for the second (entirely separate) problem. The original description was:
this shows <django.utils.functional.__proxy__ object at 0x0110ED10>
, not xxx
i expected
this bug also occurs when i'm trying to user.message_set.create(message=_(u'xxx'))