#15289 closed (fixed)
New transaction behavior only works if DEBUG=False
| Reported by: | Florian Apolloner | Owned by: | nobody |
|---|---|---|---|
| Component: | Database layer (models, ORM) | Version: | dev |
| Severity: | Keywords: | ||
| Cc: | Triage Stage: | Accepted | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
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.
Change History (3)
comment:1 by , 15 years ago
| Triage Stage: | Unreviewed → Accepted |
|---|
comment:2 by , 15 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
In [15516]: