Skip to main content

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

  1. First, install with pip:

    python -m pip install django-fcm-http

  2. Add “django_fcm_http_v1” to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = [
        ...
        'django_fcm_http_v1',
    ]
  3. Create a firebase project and download the service_file.json file.

    Notice: Make sure you add the file in the root of your project.

  4. Add “FCM_SERVICE_FILE_PATH” to your settings.py like this:

    FCM_SERVICE_FILE_PATH = '/path/to/service/file.json'
  5. Run python manage.py migrate to create a device model.

  6. 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

django-fcm-http-1.0.5.tar.gz (5.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page