summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/settings.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Bcfg2/settings.py')
-rw-r--r--src/lib/Bcfg2/settings.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/Bcfg2/settings.py b/src/lib/Bcfg2/settings.py
index 190bdff58..9e6a815c7 100644
--- a/src/lib/Bcfg2/settings.py
+++ b/src/lib/Bcfg2/settings.py
@@ -136,6 +136,8 @@ if HAS_SOUTH:
'south',
'Bcfg2.Reporting',
)
+if 'BCFG2_LEGACY_MODELS' in os.environ:
+ INSTALLED_APPS += ('Bcfg2.Server.Reports.reports',)
# Imported from Bcfg2.Server.Reports
MEDIA_ROOT = ''