Allow cleaned data to overwrite fields' default values. Description
Allow cleaned data to overwrite fields' default values. Description: a task in Lego-RL-SWE-Bench-Verified (Harbor dataset). See comments here: https://github.com/django/django/pull/7068/files r289432409 Currently, when submitting a form, if 'some field' isn't in the data payload (e.g. it wasn't…
The task
See comments here: https://github.com/django/django/pull/7068/files#r289432409 Currently, when submitting a form, if 'some_field' isn't in the data payload (e.g. it wasn't included in the form, perhaps because its value is derived from another field), and 'some_field' has a default value on the model, it cannot be…
Part of Lego-X/Lego-RL-SWE-Bench-Verified.