id,summary,reporter,owner,description,type,status,component,version,severity,resolution,keywords,cc,stage,has_patch,needs_docs,needs_tests,needs_better_patch,easy,ui_ux
4796,force_unicode error,fpierfed@…,,"Hi,
I am using the newforms-admin branch from SVN (revision 5632) under apache 2.0.54, flup SVN (revision 2354) and Python 2.4.1. I have a webapp that uses custom admin sites via {{{myadmin = admin.AdminSite()}}} and {{{myadmin.register(...)}}}
If I access the admin site via the django internal development server, everything works. If I use fcgi the admin pages work only if I am an anonymous user (in that case I am redirected to the login screen, then to the admin pages and all is good). If I use fcgi and I am already logged in, accessing the admin pages gives this error:
{{{
TypeError at /tips/admin/
coercing to Unicode: need string or buffer, __proxy__ found
Request Method: GET
Request URL: http://www.peertraveller.com/tips/admin/
Exception Type: TypeError
Exception Value: coercing to Unicode: need string or buffer, __proxy__ found
Exception Location: /home/fpierfed/lib/python2.4/site-packages/django/utils/encoding.py in force_unicode, line 38
Python Executable: /home/fpierfed/bin/python
Python Version: 2.4.1
}}}",Uncategorized,closed,Core (Other),master,Normal,fixed,fcgi unicode __proxy__ databrowse,jeff@… mmulley@… me@…,Accepted,1,0,0,0,0,0