def init_redis():
    import redis
    return redis.StrictRedis(host=settings.REDIS_HOST, port=settings.REDIS_PORT, db=settings.REDIS_DB)
Returns redis connection.
dataset/ETHPy150Open emccode/heliosburn/heliosburn/django/hbproject/api/models/redis_wrapper.py/init_redis