I know ;-)

Here is it

from django.core.handlers.wsgi import WSGIHandler

_application = WSGIHandler()

def application(environ, start_response):
    os.environ['USER'] = environ['USER']
    os.environ['DJANGO_SETTINGS_MODULE'] = environ['DJANGO_SETTINGS_MODULE']

    return _application(environ, start_response)

This is pretty useful, because each developper that works independanly share
the main settings.py for common paramaters and can change their own
parameters settings in his unixunsername.py

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to