Firebase Cloud Messaging Server in Django
Install the package via pip:
pip install django-fcm --process-dependency-links
Add fcm to INSTALLED_APPS in settings.py
INSTALLED_APPS = [
....,
fcm
]Add FCM_APIKEY to settings.py file:
FCM_APIKEY = "<api_key>"Add fcm urls to urls.py file:
urlpatterns = [
...
url(r'', include('fcm.urls')),
...
]django-fcm is fully compatible with Python 3.4 & 3.5
django-fcm is fully compatible with Django 1.8, 1.9 and 1.10
django-fcm is fully compatible with django-rest-framework 3.3.2.
Documentation: https://django-fcm.readthedocs.org