Django redis pull
Project description
Installation
$ pip install django-redis-pull
settings.py
INSTALLED_APPS+=['django_redis_pull']
REDIS_HOST = os.getenv("REDIS_HOST", "localhost")
REDIS_PORT = os.getenv("REDIS_PORT", 6379)
REDIS_DB = os.getenv("REDIS_DB", 0)
migrate
$ python manage.py migrate
Features
- data pull from redis to database
- logging
logging.debug
messages- database log
- admin
Models
model | db_table | fields/columns |
---|---|---|
PullData |
redis_push_data |
id ,queue ,data |
PushLog |
redis_push_log |
id ,queue ,count ,created_at |
PushQueue |
redis_push_queue |
id ,queue |
Management commands
name | description |
---|---|
redis_pull |
pull redis data to redis_pull_data (queue,data) table |
Examples
$ python manage.py redis_pull
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.