Personal tools
You are here: Home Plone XP leocornus.django.ploneproxy Better way to set default Django settings

Better way to set default Django settings

The basic requirement is that we need setup some default values for new introduced Django settings.  The challenge is that we also provide a PythonAuthenHandler based on mod_python.  The mod_python handler is within the same namespace with Django application.  Logically mod_python handler will be the first thing to load from the proxy server, when Django framework is not loaded yet!  So the django.conf.settings are not available at this moment.

There are work on mod_python handler to load Django framework!

This blocks us from initializing the new settings default value in the root package's __init__.py file.

Some Options So Far

We might move the mod_python handler out of the Django application's namespace!

Document Actions