Adys/django-push-notifications — pull request #25 by emperorcezar (2014-01-30 21:45:00+00:00)
Title: Formatting update, and changes to the data

There are a few major changes in this.

- Update the formatting to follow PEP8. Spaces instead of tabs is the big one.

For APNS

- Change the data parameter to alert since that's what it is.
- If alert is not set, don't send it. This fixes the issue where you can't send silent notifications on iOS
- Send extra data outside of the 'aps' attribute as this is the preferred way from the docs.