AWS Dynamodb as cache backend for Django and Flask
Project description
Serverless cache backend for Django and Flask
Working with: AWS Dynamodb
Installation
pip
pip install lesscache
pipenv
pipenv install lesscache
Setup on Django
On Django Settings
instaled_apps = [
...
'lesscache.compact.django'
]
CACHES = {
'default': {
'BACKEND': 'lesscache.compact.django.cache.DjangoCache',
}
}
Run manage command to create cache table on Dynamodb before using
python manage.py create_dynamodb_cache
Setup on Flask
WIP
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
lesscache-0.1.tar.gz
(8.9 kB
view hashes)