FIX: do not escape html entities in plain text templates.

This commit is contained in:
2018-11-27 10:11:18 +01:00
parent cec64de400
commit 7f54939b90
3 changed files with 17 additions and 2 deletions

View File

@@ -15,6 +15,21 @@ INSTALLED_APPS += [
'dav_events',
]
TEMPLATES += [
{
'NAME': 'PLAINTEXT',
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [],
'APP_DIRS': True,
'OPTIONS': {
'autoescape': False,
'context_processors': [
'django.template.context_processors.debug',
],
},
},
]
DATABASES['default'] = {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_VAR_DIR, 'db', 'devel.sqlite3'),