8 lines
275 B
Python
8 lines
275 B
Python
# from django.db.models.signals import post_save
|
|
# from notifications.signals import notify
|
|
# from base.models import *
|
|
|
|
# def my_handler(sender, instance, created, **kwargs):
|
|
# notify.send(instance, verb='was saved')
|
|
|
|
# post_save.connect(my_handler, sender=ShiftRequest) |