diff options
| author | Clifford Gama <cliffygamy@gmail.com> | 2025-11-10 13:28:07 +0200 |
|---|---|---|
| committer | Jacob Walls <jacobtylerwalls@gmail.com> | 2025-12-05 09:35:15 -0500 |
| commit | 55888655a269f41025405b9a1bff14117ae58e2a (patch) | |
| tree | e880b1a9c51c0d97c0baf6ae25bb348776e68527 /.github/workflows/data | |
| parent | 16252e690720edace3e0e220b99d9141fe091fb4 (diff) | |
Fixed #36722 -- Moved AutoFieldMixin validate_autopk_value() check to get_db_prep_save.
The validation in validate_autopk_value is specific to saving. Having it in
get_db_prep_value caused Value(0, AutoField()) to fail unexpectedly when used
in a filter on MySQL.
Thanks Jacob Walls for the review.
Diffstat (limited to '.github/workflows/data')
0 files changed, 0 insertions, 0 deletions
