I've been working on a site in development everything is working as
expected. This evening I went to set it live but when I set the debug
flag in the settings.py to False it gives me this error:
Mod_python error: "PythonHandler django.core.handlers.modpython"

Traceback (most recent call last):

  File "/usr/local/lib/python2.4/site-packages/mod_python/apache.py",
line 299, in HandlerDispatch
    result = object(req)

  File "/home2/zoofari/lib/python2.4/django/core/handlers/modpython.py",
line 163, in handler
    return ModPythonHandler()(req)

  File "/home2/zoofari/lib/python2.4/django/core/handlers/modpython.py",
line 136, in __call__
    response = self.get_response(req.uri, request)

  File "/home2/zoofari/lib/python2.4/django/core/handlers/base.py",
line 95, in get_response
    return callback(request, **param_dict)

  File "/home2/zoofari/lib/python2.4/django/views/defaults.py", line
79, in page_not_found
    return http.HttpResponseNotFound(t.render(RequestContext(request,
{'request_path': request.path})))

  File "/home2/zoofari/lib/python2.4/django/template/__init__.py",
line 155, in render
    return self.nodelist.render(context)

  File "/home2/zoofari/lib/python2.4/django/template/__init__.py",
line 688, in render
    bits.append(self.render_node(node, context))

  File "/home2/zoofari/lib/python2.4/django/template/__init__.py",
line 701, in render_node
    return(node.render(context))

  File "/home2/zoofari/lib/python2.4/django/template/loader_tags.py",
line 63, in render
    compiled_parent = self.get_parent(context)

  File "/home2/zoofari/lib/python2.4/django/template/loader_tags.py",
line 52, in get_parent
    raise TemplateSyntaxError, error_msg

TemplateSyntaxError: Invalid template name in 'extends' tag: ''. Got
this from the  variable.


I change it back to True and everything works again, switch it to
false and it breaks again.

Any help on what is causing this would be appreciated.

Thanks,
--James

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to