check for default database on mongo connection

This commit is contained in:
Ilan Steemers
2015-09-26 13:01:15 +02:00
parent 8bdbcdaf55
commit b8bb186471
3 changed files with 15 additions and 5 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ class Conf(object):
# MongoDB broker
MONGO = conf.get('mongo', None)
MONGO_DB = conf.get('mongo_db', 'django-q')
MONGO_DB = conf.get('mongo_db', None)
# Name of the cluster or site. For when you run multiple sites on one redis server
PREFIX = conf.get('name', 'default')