diff options
author | Sol Jerome <sol.jerome@gmail.com> | 2012-09-25 11:22:17 -0500 |
---|---|---|
committer | Sol Jerome <sol.jerome@gmail.com> | 2012-09-25 11:22:17 -0500 |
commit | d1886998f7a0928ec776032fee6e42d7282acec0 (patch) | |
tree | 711dc4ceeca43cb4fc01e216979533e3fe45b841 | |
parent | eac71fc1109f2edc6b71e62a6cff38d762bebe63 (diff) | |
download | bcfg2-d1886998f7a0928ec776032fee6e42d7282acec0.tar.gz bcfg2-d1886998f7a0928ec776032fee6e42d7282acec0.tar.bz2 bcfg2-d1886998f7a0928ec776032fee6e42d7282acec0.zip |
settings: Fix variable usage
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
-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 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', |