diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2012-08-20 13:39:48 -0400 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2012-08-20 13:39:48 -0400 |
commit | 7cfa4498a417f6b52a0c159dbd680496b47e279e (patch) | |
tree | 1d423d3f3e9c8c4061a9ec2f9d72bc50dd92c19c /src | |
parent | a8c90c536ccb39088d6a50f45960c2c737c6482e (diff) | |
download | bcfg2-7cfa4498a417f6b52a0c159dbd680496b47e279e.tar.gz bcfg2-7cfa4498a417f6b52a0c159dbd680496b47e279e.tar.bz2 bcfg2-7cfa4498a417f6b52a0c159dbd680496b47e279e.zip |
fixed Bcfg2.settings if django not available
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/Bcfg2/settings.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Bcfg2/settings.py b/src/lib/Bcfg2/settings.py index ab71bbae5..05e85bb9a 100644 --- a/src/lib/Bcfg2/settings.py +++ b/src/lib/Bcfg2/settings.py @@ -142,7 +142,7 @@ TEMPLATE_DIRS = ( ) # TODO - sanitize this -if django.VERSION[0] == 1 and django.VERSION[1] < 2: +if has_django and django.VERSION[0] == 1 and django.VERSION[1] < 2: TEMPLATE_CONTEXT_PROCESSORS = ( 'django.core.context_processors.auth', 'django.core.context_processors.debug', |