summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorSol Jerome <sol.jerome@gmail.com>2011-02-21 12:38:07 -0600
committerSol Jerome <sol.jerome@gmail.com>2011-02-21 12:38:07 -0600
commit1e0c946bb6e6aea51d8fad808ea6638c603c7382 (patch)
tree6f0afb224dc64c13f316e49d18df49ad489d01db /src/lib
parentadc41302e8d06600d8dbd05c2d5771bd95c957f2 (diff)
downloadbcfg2-1e0c946bb6e6aea51d8fad808ea6638c603c7382.tar.gz
bcfg2-1e0c946bb6e6aea51d8fad808ea6638c603c7382.tar.bz2
bcfg2-1e0c946bb6e6aea51d8fad808ea6638c603c7382.zip
Reports: Disable template loading from Python eggs
This does not appear to work with the default settings for some distributions. Here is what happens on Ubuntu: [error] /usr/lib/pymodules/python2.6/django/template/loader.py:64: UserWarning: Your TEMPLATE_LOADERS setting includes 'django.template.loaders.eggs.load_template_source', but your Python installation doesn't support that type of template loading. Consider removing that line from TEMPLATE_LOADERS. This appears to be disabled in django by default as per http://docs.djangoproject.com/en/dev/ref/templates/api/#loading-templates. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Server/Reports/settings.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/Server/Reports/settings.py b/src/lib/Server/Reports/settings.py
index 9efe38552..66da7a8b1 100644
--- a/src/lib/Server/Reports/settings.py
+++ b/src/lib/Server/Reports/settings.py
@@ -81,7 +81,6 @@ SECRET_KEY = 'eb5+y%oy-qx*2+62vv=gtnnxg1yig_odu0se5$h0hh#pc*lmo7'
TEMPLATE_LOADERS = (
'django.template.loaders.filesystem.load_template_source',
'django.template.loaders.app_directories.load_template_source',
- 'django.template.loaders.eggs.load_template_source',
)
MIDDLEWARE_CLASSES = (