Hi, A project, developed on OSX, needs to be moved to FC5, headless. ./ manage.py runserver works fine. But behind Apache 2.2/mod_python I get below error. FC5 does use python 2.4.3 (on OSX I use python2.5).
Any hint where I should be looking. If I modify settings so it does not find the templates, it does show the contents of the normal admin pages, but of course as a list. So it looks the mod_python works, etc. With debug=True below page is shown with {% block stylesheet %} highlighted. Thanks, Rob TypeError at /mcp/admin/ sequence item 1: expected string, tuple found Request Method: GET Request URL: http://10.0.1.3/mcp/admin/ Exception Type: TypeError Exception Value: sequence item 1: expected string, tuple found Exception Location: /usr/lib/python2.4/site-packages/django/template/ __init__.py in render, line 697 Template error In template /usr/lib/python2.4/site-packages/django/contrib/admin/ templates/admin/base.html, error at line 5 Caught an exception while rendering: sequence item 1: expected string, tuple found 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http:// www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml" lang="{{ LANGUAGE_CODE }}" xml:lang="{{ LANGUAGE_CODE }}" {% if LANGUAGE_BIDI %}dir="rtl"{% endif %}> 3 <head> 4 <title>{% block title %}{% endblock %}</title> 5 <link rel="stylesheet" type="text/css" href="{% block stylesheet %} {% load adminmedia %}{% admin_media_prefix %}css/base.css{% endblock %}" /> 6 {% if LANGUAGE_BIDI %}<link rel="stylesheet" type="text/css" href="{% block stylesheet_rtl %}{% admin_media_prefix %}css/rtl.css{% endblock %}" />{% endif %} 7 {% block extrastyle %}{% endblock %} 8 {% block extrahead %}{% endblock %} 9 {% block blockbots %}<meta name="robots" content="NONE,NOARCHIVE" /> {% endblock %} 10 </head> 11 {% load i18n %} 12 13 <body class="{% if is_popup %}popup {% endif %}{% block bodyclass %}{% endblock %}"> 14 15 <!-- Container --> Traceback (innermost last) Switch to copy-and-paste view /usr/lib/python2.4/site-packages/django/template/__init__.py in render_node result = node.render(context) ... ▶ Local vars /usr/lib/python2.4/site-packages/django/template/loader_tags.py in render result = self.nodelist.render(context) ... ▶ Local vars /usr/lib/python2.4/site-packages/django/template/__init__.py in render return ''.join(bits) ... ▶ Local vars ... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---