code: def delete(self):
          
          if self.dynamic_version_of is None:
              self._delete_dynamic_versions()
          else:
              super(DynamicFieldMixin, self).delete()
              self._inventory.srem(self.dynamic_part)
docs: If a dynamic version, delete it the standard way and remove it from the
          inventory, else delete all dynamic versions.