This forum is no longer active. Please post your questions to our new community site

no matching url ?

Subscribe to no matching url ? 2 post(s), 2 voice(s)

Avatar vincentdavis 1 post

you can view the error I get here

I have pydocweb installed and it runs from python./manage runserver but I get get it to run as in non dev mode.

It seems I have a url problem but not sure where. Below is my django.conf file
<location ‘/pydocweb’>
SetHandler python-program
PythonHandler django.core.handlers.modpython
PythonPath “[‘/Applications/djangostack/projects’, ‘/Applications/djangostack/projects/pydocweb’, ‘/Applications/djangostack/projects/pydocweb/docweb’] + sys.path”
SetEnv DJANGO_SETTINGS_MODULE pydocweb.settings
PythonOption django.root /pydoceweb
PythonDebug On


Avatar Beltrán Rueda Administrator 3,714 post(s)

Now it includes mod_wgsi. This is an example for an application configuration file:

import os, sys
os.environ['DJANGO_SETTINGS_MODULE'] = 'Project.settings'
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()