'Send notifications to subscribers of an Object on Object change'

def send_notifications_on_save(self, user, request, sender, instance, **kwargs):

    auto_notify = getattr(instance, 'auto_notify', True)
    if (auto_notify and isinstance(instance, Object) and instance.id):
        try:
            instance.create_notification('update', user)
        except:
            pass
    if isinstance(instance, Object):
        process_timezone_field(user, instance)
