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
Add FCM_APIKEY
to settings.py
file:
FCM_APIKEY = "<api_key>"
Add fcm urls
to urls.py
file:
urlpatterns = [
...
url(r'', include('fcm.urls')),
...
]
Documentation: https://django-fcm.readthedocs.org