def notify_user(user, msg, **kwargs):
 Notification.objects.create(recipient=user, subject=msg, **kwargs)

def notify_user ( user , msg , ** kwargs ) : Notification . objects . create ( recipient = user , subject = msg , ** kwargs )
send a simple notification to a user .