﻿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	Accessing admin pages as a logged in user crashes under apache + fcgi	fpierfed@…	Adrian Holovaty	"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/[[BR]]
coercing to Unicode: need string or buffer, __proxy__ found[[BR]]
Request Method: 	GET[[BR]]
Request URL: 	http://www.peertraveller.com/tips/admin/[[BR]]
Exception Type: 	TypeError[[BR]]
Exception Value: 	coercing to Unicode: need string or buffer, __proxy__ found[[BR]]
Exception Location: 	/home/fpierfed/lib/python2.4/site-packages/django/utils/encoding.py in force_unicode, line 38[[BR]]
Python Executable: 	/home/fpierfed/bin/python[[BR]]
Python Version: 	2.4.1[[BR]]"		new	Admin interface	newforms-admin			fcgi unicode __proxy__		Unreviewed	0	0	0	0		
