mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-08 08:28:12 +08:00
10 lines
246 B
Python
10 lines
246 B
Python
import django_redis
|
|
from django_q.brokers import redis_broker
|
|
from django_q.conf import Conf
|
|
|
|
|
|
class DjangoRedis(redis_broker.Redis):
|
|
|
|
@staticmethod
|
|
def get_connection():
|
|
return django_redis.get_redis_connection(Conf.DJANGO_REDIS) |