You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ansible_base/lib/middleware/profiling/README.md
+1-4Lines changed: 1 addition & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,16 +50,13 @@ MIDDLEWARE = [
50
50
51
51
### Enabling SQL Profiling
52
52
53
-
**Important:** This middleware relies on Django's `connection.queries` list, which is only populated when `settings.DEBUG` is set to `True`. Therefore, you must have `DEBUG = True` in your Django settings for this middleware to have any effect.
54
-
55
-
The middleware is controlled by the `ANSIBLE_BASE_SQL_PROFILING` setting. For backwards compatibility, it will also be enabled if the standard Django `SQL_DEBUG` setting is `True`.
53
+
The middleware is controlled by the `ANSIBLE_BASE_SQL_PROFILING` setting.
56
54
57
55
To enable SQL profiling, set the following in your Django settings:
0 commit comments