@disable_signal_for_loaddata
def update_simple_plugins(**kwargs):
 instance = kwargs[u'instance']
 if kwargs.get(u'created', False):
  p_revisions = SimplePlugin.objects.filter(article=instance.article, deleted=False)
  p_revisions.update(article_revision=instance)

@ disable_signal_for_loaddata def update_simple_plugins ( ** kwargs ) : instance = kwargs [ u'instance' ] if kwargs . get ( u'created' , False ) : p_revisions = SimplePlugin . objects . filter ( article = instance . article , deleted = False ) p_revisions . update ( article_revision = instance )
every time a new article revision is created .