Code

Changes between Version 19 and Version 20 of PsycoMiddleware


Ignore:
Timestamp:
02/24/10 06:05:47 (4 years ago)
Author:
drdee
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PsycoMiddleware

    v19 v20  
    148148 
    149149This will simply disable psyco when you've got DEBUG set to True, which probably is a desirable effect. 
     150 
     151Combining regular classes in your Django models: class foo(object) and enabling psyco can generate this error: descriptor '__dict__' for 'Empty' objects doesn't apply to 'BaseQuery' object. A nice fix is discussed at: [http://www.fioca.com/brian/] (see: Fix for psyco in Django 1.0 query module)