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
Release files for django-fcm-http 1.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-fcm-http-1.0.5.tar.gz | 5.8 kB | Details |
Release files / django-fcm-http-1.0.5.tar.gz
| Download URL | django-fcm-http-1.0.5.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c2daca33d1523daa38d74861e5082fa45b815c02dac024e366a405b1c5f91efd
|
|
BLAKE2b-256 checksum How to use checksums |
0576800e3cfdcaff17f421afd103ff7a989f60fc3fdfda46bffebfba3effa0dd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.9
|