def push_notification(self, notification):
        if not isinstance(notification, Notification):
            raise TypeError('notification should be an instance of ios_notifications.models.Notification')

        self.service.push_notification_to_devices(notification, [self])
Pushes a ios_notifications.models.Notification instance to an the device.
dataset/ETHPy150Open stephenmuss/django-ios-notifications/ios_notifications/models.py/Device.push_notification