From f638234932e4346f29dfbaeabf58bb1e4d2ff117 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Thu, 28 Sep 2006 02:31:05 +0000 Subject: Removed ENABLE_PSYCO setting. If you still need to use this, write custom middleware that activates psyco for you. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3877 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/core/handlers/modpython.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'django/core/handlers/modpython.py') diff --git a/django/core/handlers/modpython.py b/django/core/handlers/modpython.py index d7f214ba90..bf759db068 100644 --- a/django/core/handlers/modpython.py +++ b/django/core/handlers/modpython.py @@ -139,10 +139,6 @@ class ModPythonHandler(BaseHandler): # that use settings now can work from django.conf import settings - if settings.ENABLE_PSYCO: - import psyco - psyco.profile() - # if we need to set up middleware, now that settings works we can do it now. if self._request_middleware is None: self.load_middleware() -- cgit v1.3