'django.template.loaders.app_directories.load_template_source',
'forum.modules.module_templates_loader',
'forum.skins.load_template_source',
-# 'django.template.loaders.eggs.load_template_source',
+# 'django.template.loaders.eggs.load_template_source',
)
MIDDLEWARE_CLASSES = [
'forum',
]
-if DEBUG:
+if DEBUG and False:
try:
import debug_toolbar
MIDDLEWARE_CLASSES.append('debug_toolbar.middleware.DebugToolbarMiddleware')
except:
pass
-try:
- import rosetta
- INSTALLED_APPS.append('rosetta')
-except:
- pass
+if not DEBUG:
+ try:
+ import rosetta
+ INSTALLED_APPS.append('rosetta')
+ except:
+ pass
AUTHENTICATION_BACKENDS = ['django.contrib.auth.backends.ModelBackend',]