From e266593ac4343a06cf93c0bd7a3894cd058dfa0a Mon Sep 17 00:00:00 2001 From: Jannis Leidel Date: Fri, 9 Oct 2009 13:47:08 +0200 Subject: [PATCH] Enabled egg template loader in case someone is trying to test with django-reversion which might get zipped when installed with easy_install --- example/settings.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/example/settings.py b/example/settings.py index dc39774..ebdeeac 100644 --- a/example/settings.py +++ b/example/settings.py @@ -54,7 +54,7 @@ SECRET_KEY = 'e-%(1e1f8ar2v)_8d!%-75a2ag(w(ht*l%n-wts5$li!5=97)8' TEMPLATE_LOADERS = ( 'django.template.loaders.filesystem.load_template_source', 'django.template.loaders.app_directories.load_template_source', -# 'django.template.loaders.eggs.load_template_source', + 'django.template.loaders.eggs.load_template_source', 'dbtemplates.loader.load_template_source', ) @@ -81,9 +81,10 @@ INSTALLED_APPS = ( 'django.contrib.admin', 'django.contrib.flatpages', 'dbtemplates', + #'reversion', ) # Uncomment the following two settings to use the file system cache backend. # It will cache in the directory "cache" inside the example project directory. -# DBTEMPLATES_CACHE_BACKEND = "dbtemplates.cache.FileSystemBackend" -# DBTEMPLATES_CACHE_DIR = "cache" +#DBTEMPLATES_CACHE_BACKEND = "dbtemplates.cache.FileSystemBackend" +#DBTEMPLATES_CACHE_DIR = "cache"