FIX: do not escape html entities in plain text templates.
This commit is contained in:
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user