right-tree/backend/right_tree/api/redis.py

7 lines
106 B
Python
Raw Permalink Normal View History

import redis
from django.conf import settings
redis_client = redis.from_url(settings.REDIS_DJANGO_URL)