mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 14:35:27 +00:00
Some functions in models.py had input typed as int when they needed to be typed as datetime.datetime
10 lines
235 B
Python
10 lines
235 B
Python
from __future__ import absolute_import
|
|
|
|
from django.conf import settings
|
|
|
|
import redis
|
|
|
|
def get_redis_client():
|
|
# type: () -> redis.StrictRedis
|
|
return redis.StrictRedis(host=settings.REDIS_HOST, port=settings.REDIS_PORT, db=0)
|