(self, instance, **kwargs)
Update all the elasticsearch documents attached to this model (if their
        ignore_signals flag allows it)
Update all the elasticsearch documents attached to this model (if their
        ignore_signals flag allows it)
Update all the elasticsearch documents attached to this model ( if their ignore_signals flag allows it )
def update(self, instance, **kwargs):
        """
        Update all the elasticsearch documents attached to this model (if their
        ignore_signals flag allows it)
        """
        if not DEDConfig.autosync_enabled():
            return

        if instance.__class__ in self._models:
            for doc in self._models[instance.__class__]:
                if not doc.django.ignore_signals:
                    doc().update(instance, **kwargs)
def update ( self , instance , * * kwargs ) : if not DEDConfig . autosync_enabled ( ) : return if instance . __class__ in self . _models : for doc in self . _models [ instance . __class__ ] : if not doc . django . ignore_signals : doc ( ) . update ( instance , * * kwargs )