We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f61273 commit 1fe70b6Copy full SHA for 1fe70b6
debug_toolbar/panels/sql/tracking.py
@@ -29,17 +29,6 @@
29
# additional queries.
30
allow_sql = contextvars.ContextVar("debug-toolbar-allow-sql", default=True)
31
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
43
44
DDT_MODELS = {
45
m._meta.db_table for m in apps.get_app_config("debug_toolbar").get_models()
0 commit comments