def perform_create(self, serializer): instance = serializer.save() new_customer.send(sender=self.__class__, instance=instance)
def log_addition(self, request, object): super().log_addition(request, object) if getattr(object, 'new_customer'): #send new_customer signal new_customer.send(sender=self.__class__, instance=object.owner)