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

Document need to re-run block_inventory for renames #19

Open
chosak opened this issue Jan 18, 2019 · 0 comments
Open

Document need to re-run block_inventory for renames #19

chosak opened this issue Jan 18, 2019 · 0 comments

Comments

@chosak
Copy link
Member

chosak commented Jan 18, 2019

Renaming an existing StreamField block class doesn't automatically update the database table that this project uses to keep track of block usage, because class names are stored as strings. The documentation should mention that you need to manually run manage.py block_inventory to regenerate the inventory if you rename the block class.

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