Skip to content

Commit

Permalink
Merge pull request #53 from netoarmando/fix/redis-authentication
Browse files Browse the repository at this point in the history
Add support to pass a password to Redis client
  • Loading branch information
ar4s committed Jul 28, 2017
2 parents 83ee094 + 0a7a4c6 commit 15cb0e3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tipboard/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
# Redis serwer configuration
REDIS_HOST = 'localhost'
REDIS_PORT = 6379
REDIS_PASSWORD = None
REDIS_DB = 4

DEBUG = False
Expand Down Expand Up @@ -62,16 +63,19 @@
REDIS = dict(
host=REDIS_HOST,
port=REDIS_PORT,
password=REDIS_PASSWORD,
db=REDIS_DB,
)
REDIS_ASYNC = dict(
host=REDIS_HOST,
port=REDIS_PORT,
password=REDIS_PASSWORD,
selected_db=REDIS_DB,
)
REDIS_SYNC = dict(
host=REDIS_HOST,
port=REDIS_PORT,
password=REDIS_PASSWORD,
db=REDIS_DB,
)

Expand Down

0 comments on commit 15cb0e3

Please sign in to comment.