Configured jingo
This commit is contained in:
parent
c768b88fa5
commit
94d3963ad2
|
@ -10,5 +10,3 @@ DATABASES = {
|
||||||
'NAME': 'dev_ddbb.sqlite',
|
'NAME': 'dev_ddbb.sqlite',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
JINGO_EXCLUDE_APPS = ('debug_toolbar',)
|
|
||||||
|
|
|
@ -93,7 +93,7 @@ TEMPLATE_LOADERS = (
|
||||||
# 'django.template.loaders.eggs.Loader',
|
# 'django.template.loaders.eggs.Loader',
|
||||||
)
|
)
|
||||||
|
|
||||||
JINGO_INCLUDE_PATTERN = r'\.jinja2'
|
JINGO_INCLUDE_PATTERN = r'\.html'
|
||||||
|
|
||||||
MIDDLEWARE_CLASSES = (
|
MIDDLEWARE_CLASSES = (
|
||||||
'django.middleware.common.CommonMiddleware',
|
'django.middleware.common.CommonMiddleware',
|
||||||
|
@ -132,6 +132,16 @@ INSTALLED_APPS = (
|
||||||
GRAPPELLI_ADMIN_TITLE = 'Minecraft Codex'
|
GRAPPELLI_ADMIN_TITLE = 'Minecraft Codex'
|
||||||
AUTOCOMPLETE_LIMIT = 10
|
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
|
# A sample logging configuration. The only tangible logging
|
||||||
# performed by this configuration is to send an email to
|
# performed by this configuration is to send an email to
|
||||||
# the site admins on every HTTP 500 error when DEBUG=False.
|
# the site admins on every HTTP 500 error when DEBUG=False.
|
||||||
|
|
Loading…
Reference in New Issue