From af00f29ecb7647e455d3207a4af1c587d7d53e2f Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Sat, 2 Apr 2011 08:37:53 +0000 Subject: Advanced deprecations in core.mail, core.commands, core.context_processors and core.handlers. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15978 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/core/handlers/modpython.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'django/core/handlers/modpython.py') diff --git a/django/core/handlers/modpython.py b/django/core/handlers/modpython.py index 7b25f0e11e..e5c7467072 100644 --- a/django/core/handlers/modpython.py +++ b/django/core/handlers/modpython.py @@ -160,7 +160,7 @@ class ModPythonHandler(BaseHandler): def __call__(self, req): warn(('The mod_python handler is deprecated; use a WSGI or FastCGI server instead.'), - PendingDeprecationWarning) + DeprecationWarning) # mod_python fakes the environ, and thus doesn't process SetEnv. This fixes that os.environ.update(req.subprocess_env) -- cgit v1.3