Changes between Initial Version and Version 1 of Ticket #4796
- Timestamp:
- Jul 8, 2007, 4:15:31 AM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #4796 – Description
initial v1 1 1 Hi, 2 2 3 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(...).3 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(...)}}} 4 4 5 5 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: 6 7 TypeError at /tips/admin/[[BR]] 8 coercing to Unicode: need string or buffer, __proxy__ found[[BR]] 9 Request Method: GET[[BR]] 10 Request URL: http://www.peertraveller.com/tips/admin/[[BR]] 11 Exception Type: TypeError[[BR]] 12 Exception Value: coercing to Unicode: need string or buffer, __proxy__ found[[BR]] 13 Exception Location: /home/fpierfed/lib/python2.4/site-packages/django/utils/encoding.py in force_unicode, line 38[[BR]] 14 Python Executable: /home/fpierfed/bin/python[[BR]] 15 Python Version: 2.4.1[[BR]] 6 {{{ 7 TypeError at /tips/admin/ 8 coercing to Unicode: need string or buffer, __proxy__ found 9 Request Method: GET 10 Request URL: http://www.peertraveller.com/tips/admin/ 11 Exception Type: TypeError 12 Exception Value: coercing to Unicode: need string or buffer, __proxy__ found 13 Exception Location: /home/fpierfed/lib/python2.4/site-packages/django/utils/encoding.py in force_unicode, line 38 14 Python Executable: /home/fpierfed/bin/python 15 Python Version: 2.4.1 16 }}}