Opened 5 years ago

Closed 5 years ago

Last modified 4 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:

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

  • Keywords blocker added
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 5 years ago by russellm

  • Resolution set to fixed
  • Status changed from new to closed

In [15528]:

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

comment:3 Changed 4 years ago by jacob

  • milestone 1.3 deleted

Milestone 1.3 deleted

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