Skip to content

Commit

Permalink
Use redis_url setting
Browse files Browse the repository at this point in the history
  • Loading branch information
erikh360 committed May 13, 2024
1 parent 63f31e7 commit caf574f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rp_yal/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@

import redis
import requests
from django.conf import settings

redis_conn = redis.StrictRedis(decode_responses=True)
redis_conn = redis.from_url(settings.REDIS_URL, decode_responses=True)


def get_ordered_content_set(org, fields):
Expand Down

0 comments on commit caf574f

Please sign in to comment.