File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 128128
129129DEFAULT_AUTO_FIELD = "django.db.models.AutoField"
130130
131+ # Force the MIGRATION_MODULES to always find our migrations.
132+ # See debug_toolbar/apps.py::_manage_migrations_visibility
133+ MIGRATION_MODULES = {"debug_toolbar" : "debug_toolbar.migrations" }
134+
131135# Debug Toolbar configuration
132136
133137DEBUG_TOOLBAR_CONFIG = {
Original file line number Diff line number Diff line change @@ -132,6 +132,9 @@ def test_get_store_with_setting(self):
132132 self .assertIs (store .get_store (), StubStore )
133133
134134
135+ @override_settings (
136+ DEBUG_TOOLBAR_CONFIG = {"TOOLBAR_STORE_CLASS" : "debug_toolbar.store.DatabaseStore" }
137+ )
135138class DatabaseStoreTestCase (TestCase ):
136139 @classmethod
137140 def setUpTestData (cls ) -> None :
You can’t perform that action at this time.
0 commit comments