Hello I am using Post_save signal for sending a notification from the model ....
But I am getting an error like this "sending_notification() missing 1 required positional argument: 'request' "
@receiver(post_save, sender=Plan)
def sending_notification(request, sender, instance,created, **kwargs):
if created:
notify.send(request.user, recipient = request.user, verb = "Some messages")