New transaction behavior only works if DEBUG=False
|Reported by:||Florian Apolloner||Owned by:||nobody|
|Component:||Database layer (models, ORM)||Version:||master|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
CursorDebugWrapper defines it's own __getattr__ and as such eliminates the effect of http://code.djangoproject.com/browser/django/trunk/django/db/backends/util.py?rev=15493#L18 I also never get a dirty transaction if in autocommit mode, is this wanted behavior? Patch for the first one would be just removing __getattr__, not sure about the later one.