Opened 14 years ago

Closed 14 years ago

Last modified 13 years ago

#15293 closed (fixed)

django.db.backends.dummy.base.DatabaseWrapper has no attribute 'rollback_unless_managed'

Reported by: mp Owned by: nobody
Component: Database layer (models, ORM) Version: dev
Severity: Keywords: DatabaseWrapper rollback_unless_managed dummy backend blocker
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

This issue is related to #15230. Latest version from trunk breaks sites without a database again.

Index: db/backends/dummy/base.py
===================================================================
--- db/backends/dummy/base.py	(revision 15525)
+++ db/backends/dummy/base.py	(working copy)
@@ -58,3 +58,6 @@
 
     def close(self):
         pass
+
+    def rollback_unless_managed(self):
+        pass

Change History (3)

comment:1 by Russell Keith-Magee, 14 years ago

Keywords: blocker added
Triage Stage: UnreviewedAccepted

comment:2 by Russell Keith-Magee, 14 years ago

Resolution: fixed
Status: newclosed

In [15528]:

Fixed #15293 -- Updated the dummy backend to support the APIs introduced by r15493. Thanks to mp for the report.

comment:3 by Jacob, 13 years ago

milestone: 1.3

Milestone 1.3 deleted

Note: See TracTickets for help on using tickets.
Back to Top