I would like to rename the field "status" to "portal_status" in my app. Originally this is what it looks like:
I executed python manage.py renamefieldhistory --model=accounts.account --from_field=status --to_field=portal_status and saw that 619 rows were updated.
Upon closer inspection however, I see that field_name is changed but not the field inside serialized_data.
This causes my application to crash.
Perhaps we should also parse serialized_data to and modify the keys accordingly?
I would like to rename the field "status" to "portal_status" in my app. Originally this is what it looks like:
I executed
python manage.py renamefieldhistory --model=accounts.account --from_field=status --to_field=portal_status
and saw that 619 rows were updated.Upon closer inspection however, I see that field_name is changed but not the field inside serialized_data.
This causes my application to crash.
Perhaps we should also parse serialized_data to and modify the keys accordingly?