That still leaves my Django apps running in the same space
(PythonInterpreter) as the admin app which I think is the root of the
problem. I've tried using a separate <Location> for "/" and "/admin/"
but that didn't work. I don't see how its possible to separate my
non-admin apps from the admin app since they are both defined in the
same settings and urls files.

Should I just create a new project that uses a copy of the settings
file but only install the admin app? But then I'd have to install new
apps in both places.

I must be doing something wrong because it can't be that hard to do
what I'm trying to do. Isn't the typical setup for most people to have
both thier custom apps and the admin app all installed in the same
project and all working together?

No matter what I try I always get the same results: my apps work fine,
the main page of the admin app works, but whenever I click on one of my
models to look at the data, I get the dreaded TemplateSyntaxError:

Mod_python error: "PythonHandler django.core.handlers.modpython"

Traceback (most recent call last):

  File "C:\Python24\Lib\site-packages\mod_python\apache.py", line 299,
in HandlerDispatch
    result = object(req)

  File
"c:\python24\lib\site-packages\Django-0.91-py2.4.egg\django\core\handlers\modpython.py",
line 165, in handler
    return ModPythonHandler()(req)

  File
"c:\python24\lib\site-packages\Django-0.91-py2.4.egg\django\core\handlers\modpython.py",
line 139, in __call__
    response = self.get_response(req.uri, request)

  File
"c:\python24\lib\site-packages\Django-0.91-py2.4.egg\django\core\handlers\base.py",
line 109, in get_response
    return self.get_technical_error_response(request)

  File
"c:\python24\lib\site-packages\Django-0.91-py2.4.egg\django\core\handlers\base.py",
line 139, in get_technical_error_response
    return debug.technical_500_response(request, *sys.exc_info())

  File
"c:\python24\lib\site-packages\Django-0.91-py2.4.egg\django\views\debug.py",
line 126, in technical_500_response
    return HttpResponseServerError(t.render(c), mimetype='text/html')

  File
"c:\python24\lib\site-packages\Django-0.91-py2.4.egg\django\core\template\__init__.py",
line 146, in render
    return self.nodelist.render(context)

  File
"c:\python24\lib\site-packages\Django-0.91-py2.4.egg\django\core\template\__init__.py",
line 707, in render
    bits.append(self.render_node(node, context))

  File
"c:\python24\lib\site-packages\Django-0.91-py2.4.egg\django\core\template\__init__.py",
line 725, in render_node
    result = node.render(context)

  File
"c:\python24\lib\site-packages\Django-0.91-py2.4.egg\django\core\template\defaulttags.py",
line 112, in render
    nodelist.append(node.render(context))

  File
"c:\python24\lib\site-packages\Django-0.91-py2.4.egg\django\core\template\defaulttags.py",
line 179, in render
    return self.nodelist_true.render(context)

  File
"c:\python24\lib\site-packages\Django-0.91-py2.4.egg\django\core\template\__init__.py",
line 707, in render
    bits.append(self.render_node(node, context))

  File
"c:\python24\lib\site-packages\Django-0.91-py2.4.egg\django\core\template\__init__.py",
line 735, in render_node
    raise wrapped

TemplateSyntaxError: Caught an exception while rendering.


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