mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-04 20:28:12 +08:00
Redis server now configurable with Q_REDIS. Moved constants to conf
This commit is contained in:
@@ -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': ''
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user