mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 06:23:38 +00:00
We can add it back later but for now we can just stick with localhost since that's what most people will want. (imported from commit c5fe524282219dc62a0670f569c0cb6af04be339)
9 lines
199 B
Python
9 lines
199 B
Python
from __future__ import absolute_import
|
|
|
|
from django.conf import settings
|
|
|
|
import redis
|
|
|
|
def get_redis_client():
|
|
return redis.StrictRedis(host=settings.REDIS_HOST, port=settings.REDIS_PORT, db=0)
|