Opened 16 years ago
Last modified 11 years ago
#10491 closed
an unevaluated lazy object — at Version 1
Reported by: | liangent | Owned by: | nobody |
---|---|---|---|
Component: | HTTP handling | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | liangent@…, bmispelon@… | Triage Stage: | Ready for checkin |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description (last modified by )
Passing a ugettext_lazy()
object as the argument to HttpResponseRedirect.__init__
doesn't work.
Change History (2)
by , 16 years ago
Attachment: | djtrans.zip added |
---|
comment:1 by , 16 years ago
Component: | Internationalization → HTTP handling |
---|---|
Description: | modified (diff) |
Triage Stage: | Unreviewed → Accepted |
Note:
See TracTickets
for help on using tickets.
Please report only on bug per ticket. This is two bugs:
HttpResponse
classes doesn't convert it to ASCII (it assumes a str or str-proxy objects will be passed in).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>
, notxxx
i expectedthis bug also occurs when i'm trying to user.message_set.create(message=_(u'xxx'))