<Location "/py">
SetHandler mod_python
PythonHandler django.core.handlers.modpython
SetEnv DJANGO_SETTINGS_MODULE lsc.settings
PythonDebug On
PythonPath "sys.path + ['/usr/local/django-apps/']"
</Location>
when i open http://127.0.0.1/py/ the "py" part of url is also passed
to lsc.urls... How to avoid it?
My solution is to make wrapper.py, and add there following:
from django.conf.urls.defaults import *
urlpatterns = patterns('',
url(r'^py/',include('lsc.urls')))
but anyway i get problem in post_save_redirect and post_delete_redirect parameters
of generic views :(.
Is there a better solution?