Blocks in FP make use of multi-table inheritance for blocks. This can cause orphaned entries in the ContentBlock table when e.g. reverting migrations. It would be nice to have management command that looks for orphaned ContentBlock rows and removes them. Similar to the unreferenced_files in django-extensions.
Blocks in FP make use of multi-table inheritance for blocks. This can cause orphaned entries in the
ContentBlock
table when e.g. reverting migrations. It would be nice to have management command that looks for orphanedContentBlock
rows and removes them. Similar to theunreferenced_files
in django-extensions.