summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/settings.py
diff options
context:
space:
mode:
authorSol Jerome <sol.jerome@gmail.com>2012-09-25 11:22:17 -0500
committerSol Jerome <sol.jerome@gmail.com>2012-09-25 11:22:17 -0500
commitd1886998f7a0928ec776032fee6e42d7282acec0 (patch)
tree711dc4ceeca43cb4fc01e216979533e3fe45b841 /src/lib/Bcfg2/settings.py
parenteac71fc1109f2edc6b71e62a6cff38d762bebe63 (diff)
downloadbcfg2-d1886998f7a0928ec776032fee6e42d7282acec0.tar.gz
bcfg2-d1886998f7a0928ec776032fee6e42d7282acec0.tar.bz2
bcfg2-d1886998f7a0928ec776032fee6e42d7282acec0.zip
settings: Fix variable usage
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Diffstat (limited to 'src/lib/Bcfg2/settings.py')
-rw-r--r--src/lib/Bcfg2/settings.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Bcfg2/settings.py b/src/lib/Bcfg2/settings.py
index a904bead5..cfb515136 100644
--- a/src/lib/Bcfg2/settings.py
+++ b/src/lib/Bcfg2/settings.py
@@ -138,7 +138,7 @@ ADMIN_MEDIA_PREFIX = '/media/'
# Make this unique, and don't share it with anybody.
SECRET_KEY = 'eb5+y%oy-qx*2+62vv=gtnnxg1yig_odu0se5$h0hh#pc*lmo7'
-if has_django and django.VERSION[0] == 1 and django.VERSION[1] < 2:
+if HAS_DJANGO and django.VERSION[0] == 1 and django.VERSION[1] < 2:
TEMPLATE_LOADERS = (
'django.template.loaders.filesystem.load_template_source',
'django.template.loaders.app_directories.load_template_source',