Skip to content

Commit

Permalink
Notification issue resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
prabhatsuman committed Apr 17, 2024
1 parent 7962229 commit 29f6d2a
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion FusionIIIT/notification/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -438,4 +438,12 @@ def hostel_notifications(sender, recipient, type):
elif type == "fine_imposed":
verb = "A fine has been imposed on you."

notify.send(sender=sender,recipient=recipient,url=url,module=module,verb=verb)
notify.send(sender=sender,recipient=recipient,url=url,module=module,verb=verb)

def prog_and_curr_notif(sender, recipient,title):
url='programme_curriculum:inward_files'
module='Programme and Curriculum'
sender = sender
recipient = recipient
verb = title
notify.send(sender=sender, recipient=recipient, url=url, module=module, verb=verb)

0 comments on commit 29f6d2a

Please sign in to comment.