Ticket #7736: 00-modpython-fix.diff
File 00-modpython-fix.diff, 561 bytes (added by , 16 years ago) |
---|
-
django/core/handlers/modpython.py
=== modified file 'django/core/handlers/modpython.py'
149 149 # that use settings now can work 150 150 from django.conf import settings 151 151 152 # Load all applications. 153 from django.db.models import get_apps 154 get_apps() 155 152 156 # if we need to set up middleware, now that settings works we can do it now. 153 157 if self._request_middleware is None: 154 158 self.load_middleware()