Google Cloud Messaging Server in Django
Install the package via pip
:
pip install django-gcm --process-dependency-links
Add gcm
to INSTALLED_APPS
in settings.py
Add GCM_APIKEY
to settings.py
file:
GCM_APIKEY = "<api_key>"
Add gcm urls
to urls.py
file:
urlpatterns = [
...
url(r'', include('gcm.urls')),
...
]
Documentation: https://django-gcm.readthedocs.org
Simple client application you can find here.