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
File details
Details for the file django-firebase-cache-19.6.2.tar.gz
.
File metadata
- Download URL: django-firebase-cache-19.6.2.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed26617f5d8b9800d7588fd8da8691c9bebafec84066ea60f32bf7b355fea54a |
|
MD5 | 208047b2b035187372c79392e63d90cb |
|
BLAKE2b-256 | 81e775f62ac877e989ac332b48b7123bb10355f9e190653d21b3a72df377e3cb |
File details
Details for the file django_firebase_cache-19.6.2-py3-none-any.whl
.
File metadata
- Download URL: django_firebase_cache-19.6.2-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70546cfc5bd5ea12c8c6a586c42caba4febc894876e172d3aaebd9fc091bb1f2 |
|
MD5 | b23572e74d1e1fbd3f546ad24d6628fd |
|
BLAKE2b-256 | c386fe6f7677c05413b2fb9feb156d875d41e3d38cb3f85d675ec913504168b2 |