Firebase cache for Django
Project description
Django Firebase Cache
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for django-firebase-cache-19.6.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed26617f5d8b9800d7588fd8da8691c9bebafec84066ea60f32bf7b355fea54a |
|
MD5 | 208047b2b035187372c79392e63d90cb |
|
BLAKE2b-256 | 81e775f62ac877e989ac332b48b7123bb10355f9e190653d21b3a72df377e3cb |
Close
Hashes for django_firebase_cache-19.6.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70546cfc5bd5ea12c8c6a586c42caba4febc894876e172d3aaebd9fc091bb1f2 |
|
MD5 | b23572e74d1e1fbd3f546ad24d6628fd |
|
BLAKE2b-256 | c386fe6f7677c05413b2fb9feb156d875d41e3d38cb3f85d675ec913504168b2 |