Changes between Version 5 and Version 6 of PsycoMiddleware
- Timestamp:
- Mar 1, 2007, 11:57:17 AM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PsycoMiddleware
v5 v6 63 63 return None 64 64 }}} 65 66 Or even 67 {{{ 68 #!python 69 from platform import architecture 70 71 if architecture()[0] != '32bit': 72 raise Exception("Don't use this on non-32-bit platforms") 73 74 import psyco 75 psyco.profile() 76 77 class PsycoMiddleware(object): 78 def process_request(self, request): 79 return None 80 }}}