mod_python (django.core.handlers.modpython), request.META['GATEWAY_INTERFACE'] = 'CGI/1.1'
or request.META['SERVER_SOFTWARE'] = 'mod_python'' or 'ModPythonRequest' in request.__str__() Django, wsgi handler (django.core.handlers.wsgi) 'WSGIRequest' in request.__str__() Hope this help, Chatchai 2008/5/13 Bob <[EMAIL PROTECTED]>: > > I'd like to find out whether I'm running under the Django development > server or mod_python. How can I do this? > > > --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---