Commit e283b5d6 authored by Florent Chehab's avatar Florent Chehab

fix(nb_versions): coherence

* Added signal to catch version deletion and make sure nb_version in versioned models is coherent
* Added test for this
* Made sure pending moderation data (that was automatic) and versions are deleted when a model is deleted.
* Added test for this.

Fixes #84
parent bf0b3db5
Pipeline #37122 passed with stages
in 5 minutes and 7 seconds