Django fcm http is a Django app to send push notifications to android, ios devices and web applications.
Project description
Django fcm http is a Django app to send push notifications to android, ios devices and web applications.
Detailed documentation is in the “docs” directory.
Quick start
First, install with pip:
python -m pip install django-fcm-http
Add “django_fcm_http_v1” to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [ ... 'django_fcm_http_v1', ]Create a firebase project and download the service_file.json file.
Notice: Make sure you add the file in the root of your project.
Add “FCM_SERVICE_FILE_PATH” to your settings.py like this:
FCM_SERVICE_FILE_PATH = '/path/to/service/file.json'
Run python manage.py migrate to create a device model.
Start the development server and visit http://127.0.0.1:8000
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-fcm-http-1.0.5.tar.gz.
File metadata
- Download URL: django-fcm-http-1.0.5.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c2daca33d1523daa38d74861e5082fa45b815c02dac024e366a405b1c5f91efd
|
|
| MD5 |
24c418faacdcf4d16752a6e3e3114db3
|
|
| BLAKE2b-256 |
0576800e3cfdcaff17f421afd103ff7a989f60fc3fdfda46bffebfba3effa0dd
|