bogdal / django-gcm

Google Cloud Messaging Server in Django
https://django-gcm.readthedocs.org
BSD 2-Clause "Simplified" License
98 stars 42 forks source link

Support for bulk push #23

Closed mevinbabuc closed 9 years ago

mevinbabuc commented 9 years ago

It would be really awesome if it had support for bulk push. If its already implemented, where can I get docs on using it.

Thanks, Mevin

bogdal commented 9 years ago

Hi @mevinbabuc. django-gcm supports bulk push, but it looks like we don't have this in the documentation yet. The easiest way is to use send_message method of the device queryset. E.g:

Device.objects.all().send_message('my message')

Cheers!