code: def pre_delete_title(instance, **kwargs):
      ''' Update article.languages
      '''
      if instance.article.languages:
          languages = instance.article.languages.split(',')
      else:
          languages = []
      if instance.language in languages:
          languages.remove(instance.language)
          instance.article.languages = ','.join(languages)
          instance.article._publisher_keep_state = True
          instance.article.save(no_signals=Truef pre_delete_title(instance, **kwargs):
      ''' Update article.languages
      '''
      if instance.article.languages:
          languages = instance.article.languages.split(',')
      else:
          languages = []
      if instance.language in languages:
          languages.remove(instance.language)
          instance.article.languages = ','.join(languages)
          instance.article._publisher_keep_state = True
          instance.article.save(no_signals=True)
docs: Update article.languages