def response_change(self, request, obj, *args, **kwargs): r = super(ItemEditor, self).response_change(request, obj, *args, **kwargs) itemeditor_post_save_related.send(sender=obj.__class__, instance=obj, created=False) return r
def save_related(self, request, form, formsets, change): super(ItemEditor, self).save_related( request, form, formsets, change) itemeditor_post_save_related.send( sender=form.instance.__class__, instance=form.instance, created=not change)
def response_change(self, request, obj, *args, **kwargs): r = super(ItemEditor, self).response_change( request, obj, *args, **kwargs) itemeditor_post_save_related.send( sender=obj.__class__, instance=obj, created=False) return r