Redis server now configurable with Q_REDIS. Moved constants to conf

This commit is contained in:
Ilan Steemers
2015-06-27 12:08:33 +02:00
parent 3b7682411c
commit d8020f0c0b
3 changed files with 83 additions and 13 deletions
+9
View File
@@ -104,3 +104,12 @@ STATIC_URL = '/static/'
# Django Q specific
Q_PREFIX = 'test_django_q'
Q_REDIS = {
#'host': 'localhost',
#'port': 6379,
# 'db': 1,
# 'socket_timeout': 3,
# 'password': '...',
# 'unix_socket_path': ''
}