Project description
Installation
$ pip install django-redis-push
settings.py
INSTALLED_APPS+=['django_redis_push']
migrate
$ python manage.py migrate
Environment variables
| Variable |
default |
REDIS_HOST |
localhost |
REDIS_PORT |
6379 |
REDIS_DB |
0 |
Features
- data push from database to redis
- logging
- logging.debug messages
- database log
Models
| model |
db_table |
fields/columns |
PushData |
redis_push_data |
id,queue,data |
PushLog |
redis_push_log |
id,queue,count,created_at |
Management commands
| name |
description |
redis_push |
push PushData/redis_push_data to redis |
Examples
$ python manage.py redis_push
from django.core.management import call_command
call_command("redis_push")
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django_redis_push-0.0.1.tar.gz.
File metadata
-
Download URL: django_redis_push-0.0.1.tar.gz
- Upload date:
-
Size: 3.2 kB
- Tags: Source
-
Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
Hashes for django_redis_push-0.0.1.tar.gz
| Algorithm |
Hash digest |
|
| SHA256 |
d1d0a8fe9c7ede1eaa125b8c482287e6c905cc66154c077e47c3d987bca3a8b4
|
|
| MD5 |
22f23f11796d5c4cd2b390631501ebb5
|
|
| BLAKE2b-256 |
4c77c78be19429f675575584f1a180fe15eabc9820893b34a1b522635b5e8ea0
|
|
See more details on using hashes here.