Commit c0c456f
add support for django 4.1 (#208)
* Fixed failing timezone unit test for Django 4.1 (#169)
* Added Django 4.1 tests into test suite
* Fixed datetime issues
* Added skipped timezone tests
* fix date_trunc_sql to work with < 4-digit year
set has_case_insensitive_like to True
Revert "fix date_trunc_sql to work with < 4-digit year"
This reverts commit 492e32c.
Revert "set has_case_insensitive_like to True"
This reverts commit 2bc4f8e.
fix date_trunc_sql to work with < 4-digit year (#188)
* set has_case_insensitive_like to True (#189)
Co-Authored-By: Khanh Bui <85855766+khanhmaibui@users.noreply.github.com>
Co-authored-by: Khanh Bui <85855766+khanhmaibui@users.noreply.github.com>
* bump required django version to include 4.1.x updates (#192)
* add introspected field type for DurationField (#191)
* Add check to see if `FROM` clause exists (#190)
* Make MSSQL introspection raise DatabaseError on nonexistent tables (#194)
* Make MSSQL introspection raise DatabaseError on nonexistent tables
* edit error message to make it specific to MSSQL
* Refix JSONField has_key so it doesn't break previous Django versions (#195)
* Fix removing unique_together constraint if exists primary key/unique constraint on the same field. (#204)
* Fix removing unique_together constraint if
exists primary key/unique constraint on the same field.
* add django version requirement
* fix jsonfield test in sql server 2022 and newer (#203)
* fix jsonfield test in sql server 2022
* fix sql server version
* fix bulk update tests (#205)
* match native function updates
* syntax update
* fix `mssql-django` tests
* trim whitespace
* create custom `Window.as_sql` (#207)
Co-Authored-By: Khanh Bui 85855766+khanhmaibui@users.noreply.github.com
* Add skipped tests to Django 4.1 (#199)
Skips the currently unfixable tests added by Django 4.1
Co-authored-by: mShan0 <mark.shan19@gmail.com>
Co-authored-by: jmah8 <59151084+jmah8@users.noreply.github.com>
Co-authored-by: Khanh Bui <khanhmb815@gmail.com>
Co-authored-by: Khanh Bui <85855766+khanhmaibui@users.noreply.github.com>1 parent b455faf commit c0c456f
File tree
10 files changed
+306
-87
lines changed- mssql
- testapp
10 files changed
+306
-87
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
27 | 37 | | |
28 | 38 | | |
29 | 39 | | |
| |||
101 | 111 | | |
102 | 112 | | |
103 | 113 | | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
104 | 124 | | |
105 | 125 | | |
106 | 126 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
132 | 167 | | |
133 | 168 | | |
134 | 169 | | |
| |||
281 | 316 | | |
282 | 317 | | |
283 | 318 | | |
284 | | - | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
285 | 322 | | |
286 | 323 | | |
287 | 324 | | |
| |||
422 | 459 | | |
423 | 460 | | |
424 | 461 | | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
425 | 465 | | |
426 | 466 | | |
427 | 467 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
64 | 65 | | |
65 | 66 | | |
66 | 67 | | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
95 | 96 | | |
96 | 97 | | |
97 | 98 | | |
98 | | - | |
| 99 | + | |
99 | 100 | | |
100 | 101 | | |
101 | 102 | | |
| |||
204 | 205 | | |
205 | 206 | | |
206 | 207 | | |
207 | | - | |
208 | | - | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
209 | 213 | | |
210 | 214 | | |
211 | 215 | | |
| |||
216 | 220 | | |
217 | 221 | | |
218 | 222 | | |
219 | | - | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
220 | 230 | | |
221 | 231 | | |
222 | 232 | | |
| |||
277 | 287 | | |
278 | 288 | | |
279 | 289 | | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
280 | 295 | | |
281 | 296 | | |
282 | | - | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
283 | 300 | | |
284 | | - | |
| 301 | + | |
285 | 302 | | |
286 | 303 | | |
287 | 304 | | |
| |||
291 | 308 | | |
292 | 309 | | |
293 | 310 | | |
294 | | - | |
| 311 | + | |
295 | 312 | | |
296 | 313 | | |
297 | 314 | | |
298 | 315 | | |
299 | | - | |
| 316 | + | |
300 | 317 | | |
301 | 318 | | |
302 | 319 | | |
| |||
305 | 322 | | |
306 | 323 | | |
307 | 324 | | |
| 325 | + | |
308 | 326 | | |
309 | 327 | | |
310 | | - | |
| 328 | + | |
311 | 329 | | |
312 | 330 | | |
313 | 331 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
108 | 109 | | |
109 | 110 | | |
110 | 111 | | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
111 | 115 | | |
112 | 116 | | |
113 | 117 | | |
| |||
0 commit comments