Opened 6 years ago

Closed 6 years ago

Last modified 5 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: master
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: UI/UX:


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

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

Change History (3)

comment:1 Changed 6 years ago by Russell Keith-Magee

Keywords: blocker added
Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Triage Stage: UnreviewedAccepted

comment:2 Changed 6 years ago by Russell Keith-Magee

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 Changed 5 years ago by Jacob

milestone: 1.3

Milestone 1.3 deleted

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