Skip to content

Commit

Permalink
debugging new env redis strings in config
Browse files Browse the repository at this point in the history
  • Loading branch information
cmatKhan committed Feb 26, 2024
1 parent ccf9301 commit a5aca23
Show file tree
Hide file tree
Showing 3 changed files with 454 additions and 11 deletions.
2 changes: 1 addition & 1 deletion config/settings/production.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
SECRET_KEY = env("DJANGO_SECRET_KEY")
# https://docs.djangoproject.com/en/dev/ref/settings/#allowed-hosts
ALLOWED_HOSTS = env.list("DJANGO_ALLOWED_HOSTS", default=["example.com"])
REDIS_URL = "redis://" + env("REDIS_HOST", "redis") + ":" + env("REDIS_PORT", "6379") + "/0"
REDIS_URL = "redis://" + env.str("REDIS_HOST", "redis") + ":" + env.str("REDIS_PORT", "6379") + "/0"

# DATABASES
# ------------------------------------------------------------------------------
Expand Down
Loading

0 comments on commit a5aca23

Please sign in to comment.