summaryrefslogtreecommitdiffstats
path: root/reports/reports.wsgi
diff options
context:
space:
mode:
Diffstat (limited to 'reports/reports.wsgi')
-rw-r--r--reports/reports.wsgi2
1 files changed, 2 insertions, 0 deletions
diff --git a/reports/reports.wsgi b/reports/reports.wsgi
index c2a2be1ce..1b64ab9fd 100644
--- a/reports/reports.wsgi
+++ b/reports/reports.wsgi
@@ -2,6 +2,8 @@ import os
import Bcfg2.Options
import Bcfg2.DBSettings
+os.environ['DJANGO_SETTINGS_MODULE'] = 'Bcfg2.DBSettings'
+
Bcfg2.Options.get_parser().parse()
import django.core.handlers.wsgi