Skip to content

Commit 1fe70b6

Browse files
committed
chore: remove leftover code from the previous change
1 parent 2f61273 commit 1fe70b6

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

debug_toolbar/panels/sql/tracking.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,6 @@
2929
# additional queries.
3030
allow_sql = contextvars.ContextVar("debug-toolbar-allow-sql", default=True)
3131

32-
# Prevents tracking of DDT models
33-
allow_ddt_models_tracking = contextvars.ContextVar(
34-
"debug-toolbar-allow-ddt-models", default=False
35-
)
36-
37-
DDT_MODELS = {
38-
m._meta.db_table
39-
for m in apps.get_app_config("debug_toolbar").get_models()
40-
if m._meta.app_label == "debug_toolbar"
41-
}
42-
4332

4433
DDT_MODELS = {
4534
m._meta.db_table for m in apps.get_app_config("debug_toolbar").get_models()

0 commit comments

Comments
 (0)