Commit f630b3b
committed
Fix is_bound for empty forms by checking request method instead of data truthiness
Empty POST requests (e.g., delete forms with no fields) produced a falsy
empty QueryDict, causing is_bound to be False and validation to never run.1 parent 1f9c16e commit f630b3b
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| |||
0 commit comments