Changes between Initial Version and Version 1 of Ticket #4796


Ignore:
Timestamp:
Jul 8, 2007, 4:15:31 AM (17 years ago)
Author:
Malcolm Tredinnick
Comment:

Fixed description.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4796 – Description

    initial v1  
    11Hi,
    22
    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(...).
     3I 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(...)}}}
    44
    55If 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{{{
     7TypeError at /tips/admin/
     8coercing to Unicode: need string or buffer, __proxy__ found
     9Request Method:         GET
     10Request URL:    http://www.peertraveller.com/tips/admin/
     11Exception Type:         TypeError
     12Exception Value:        coercing to Unicode: need string or buffer, __proxy__ found
     13Exception Location:     /home/fpierfed/lib/python2.4/site-packages/django/utils/encoding.py in force_unicode, line 38
     14Python Executable:      /home/fpierfed/bin/python
     15Python Version:         2.4.1
     16}}}
Back to Top