Skip to main content

Firebase cache for Django

Project description

Django Firebase Cache

PyPI version Build status Coverage Python versions Github license

Install

pip install django-firebase-cache

Usage

# settings.py

CACHES = {
    "firebase": {
        "BACKEND": "django_firebase_cache.RealtimeDatabaseCache",
        "LOCATION": "django",  # name of child key in Realtime Database
        "OPTIONS": {"databaseURL": "https://project-id.firebaseio.com/"},
    },
    "firestore": {
        "BACKEND": "django_firebase_cache.FirestoreCache",
        "LOCATION": "django",  # name of collection in Firestore
    },
}

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-firebase-cache-19.6.2.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distribution

django_firebase_cache-19.6.2-py3-none-any.whl (5.8 kB view hashes)

Uploaded Python 3

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