# Connect to the mongo databases. connect(MONGO_DATABASE_NAME_CHECKIN, alias='checkin', tz_aware=True, host=MONGO_DATABASE_HOST_CHECKIN) connect(MONGO_DATABASE_NAME_RHICSERVE, alias='rhic_serve', tz_aware=True, host=MONGO_DATABASE_HOST_RHICSERVE) connect(MONGO_DATABASE_NAME, alias='results', tz_aware=True, host=MONGO_DATABASE_HOST) register_connection('default', MONGO_DATABASE_NAME_RHICSERVE, host=MONGO_DATABASE_HOST_RHICSERVE) # Custom test runner to work with Mongo TEST_RUNNER = 'rhic_serve.common.tests.MongoTestRunner' # Business Rules initialization r = Rules() r.init() r.list_rules() LOGIN_URL = '/ui/' ROOT_URLCONF = 'report_server.splice_reports.urls' # Python dotted path to the WSGI application used by Django's runserver. WSGI_APPLICATION = 'splice_reports.wsgi.application' TEMPLATE_DIRS = ( # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates". # Always use forward slashes, even on Windows. # Don't forget to use absolute paths, not relative paths. #os.path.join(os.path.abspath(os.path.dirname(__name__)), "templates"), '/usr/lib/report_server/templates',