Skip to content

Commit

Permalink
Merge pull request #187 from praekeltfoundation/fix-redis-url
Browse files Browse the repository at this point in the history
Use redis_url setting
  • Loading branch information
erikh360 authored May 13, 2024
2 parents 63f31e7 + caf574f commit 2e3732a
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 2e3732a

Please sign in to comment.