diff --git a/tipboard/settings.py b/tipboard/settings.py index cedd034e..1b34e0df 100644 --- a/tipboard/settings.py +++ b/tipboard/settings.py @@ -14,6 +14,7 @@ # Redis serwer configuration REDIS_HOST = 'localhost' REDIS_PORT = 6379 +REDIS_PASSWORD = None REDIS_DB = 4 DEBUG = False @@ -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, )