Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

renamefieldhistory does not change serialized_data #32

Open
vincentwhales opened this issue Oct 31, 2018 · 0 comments
Open

renamefieldhistory does not change serialized_data #32

vincentwhales opened this issue Oct 31, 2018 · 0 comments

Comments

@vincentwhales
Copy link

I would like to rename the field "status" to "portal_status" in my app. Originally this is what it looks like:

image

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.

image

This causes my application to crash.

Perhaps we should also parse serialized_data to and modify the keys accordingly?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant