from django.db.models.signals import post_save
from.models import StudentRequest
from django.dispatch import receiver
from notifications.signals import notify

@receiver(post_save, sender=StudentRequest)
def newRequest(sender, instance, created, **kwargs):
    if created:
        notify.send(instance.author, recipient=instance.reciever, verb='posted new request - ', action_object=instance, level="info")
4fa294d3e077411e411410f4818c54ce9416c974
<mask token>

<mask token>


@receiver(post_save, sender=StudentRequest)
def newRequest(sender, instance, created, **kwargs):
    if created:
        notify.send(instance.author, recipient=instance.reciever, verb=
            'posted new request - ', action_object=instance, level='info')

from django.db.models.signals import post_save
from .models import StudentRequest
from django.dispatch import receiver
from notifications.signals import notify


@receiver(post_save, sender=StudentRequest)
def newRequest(sender, instance, created, **kwargs):
    if created:
        notify.send(instance.author, recipient=instance.reciever, verb=
            'posted new request - ', action_object=instance, level='info')

from django.db.models.signals import post_save
from.models import StudentRequest
from django.dispatch import receiver
from notifications.signals import notify

@receiver(post_save, sender=StudentRequest)
def newRequest(sender, instance, created, **kwargs):
    if created:
        notify.send(instance.author, recipient=instance.reciever, verb='posted new request - ', action_object=instance, level="info")