Ticket #1323: psyco.patch

File psyco.patch, 534 bytes (added by wsobczuk@…, 19 years ago)

psyco patch

  • core/handlers/wsgi.py

     
    145145        from django.conf import settings
    146146        from django.core import db
    147147
     148        if settings.ENABLE_PSYCO:
     149            import psyco
     150            psyco.profile()
     151
    148152        # Set up middleware if needed. We couldn't do this earlier, because
    149153        # settings weren't available.
    150154        if self._request_middleware is None:
Back to Top