#4796: Accessing admin pages as a logged in user crashes under apache + fcgi
--------------------------------------+-------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: adrian
Status: reopened | Component: Admin interface
Version: newforms-admin | Resolution:
Keywords: fcgi unicode __proxy__ | Stage: Unreviewed
Has_patch: 0 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
--------------------------------------+-------------------------------------
Comment (by Jeff Forcier <[EMAIL PROTECTED]>):
Yes, that's the rub. The traceback page's printing of `s` causes it to
happily show up as `u'jobs'`. However, during my investigation, I at one
point had a line just prior to the `s = unicode(s)`, to the effect of `foo
= s.__unicode__()` and '''that made the process work''' - the `__proxy__`
related error did not appear and databrowse worked fine.
So in this case what I think is happening is the `s = unicode(s)` line is
erroring out, but at the same time it's "unblocking" the `lazy` aspect of
`s`, so that when it is asked to yield itself as a (Unicode?) string in
the debug printout, it does so.
--
Ticket URL: <http://code.djangoproject.com/ticket/4796#comment:11>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---