Commit b091f3c
committed
Add django_debug_sql ini option
TODO:
- [ ] doc
- [ ] use a command line option instead?
I've thought about having a fixture also, but it would require to set
"force_debug_cursor" on the connections then, and it probably not
useful; typically you want to use this for a short time only - therefore
a command line option might be better suited also (but you can use `-o
django_debug_sql = 1`). And on the other hand, it will only show up on
failures, and is therefore maybe good to set it in general.1 parent 7b34c28 commit b091f3c
2 files changed
+55
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
83 | 122 | | |
84 | 123 | | |
85 | 124 | | |
| |||
95 | 134 | | |
96 | 135 | | |
97 | 136 | | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
98 | 142 | | |
99 | 143 | | |
100 | 144 | | |
| |||
108 | 152 | | |
109 | 153 | | |
110 | 154 | | |
111 | | - | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
112 | 158 | | |
113 | 159 | | |
114 | 160 | | |
| |||
119 | 165 | | |
120 | 166 | | |
121 | 167 | | |
122 | | - | |
123 | | - | |
| 168 | + | |
| 169 | + | |
124 | 170 | | |
125 | 171 | | |
126 | 172 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
127 | 133 | | |
128 | 134 | | |
129 | 135 | | |
| |||
0 commit comments