Configured jingo

This commit is contained in:
Felipe Martín 2013-05-21 13:49:28 +02:00
parent c768b88fa5
commit 94d3963ad2
2 changed files with 11 additions and 3 deletions

View File

@ -10,5 +10,3 @@ DATABASES = {
'NAME': 'dev_ddbb.sqlite',
}
}
JINGO_EXCLUDE_APPS = ('debug_toolbar',)

View File

@ -93,7 +93,7 @@ TEMPLATE_LOADERS = (
# 'django.template.loaders.eggs.Loader',
)
JINGO_INCLUDE_PATTERN = r'\.jinja2'
JINGO_INCLUDE_PATTERN = r'\.html'
MIDDLEWARE_CLASSES = (
'django.middleware.common.CommonMiddleware',
@ -132,6 +132,16 @@ INSTALLED_APPS = (
GRAPPELLI_ADMIN_TITLE = 'Minecraft Codex'
AUTOCOMPLETE_LIMIT = 10
# Jingo
EXCLUDE_APPS = (
'admin',
'debug_toolbar', # If installed
)
JINJA_CONFIG = {
'autoescape': True
}
#from herobrine import filters
# A sample logging configuration. The only tangible logging
# performed by this configuration is to send an email to
# the site admins on every HTTP 500 error when DEBUG=False.