remove old cms, switch to wagtail; move website to cms

This commit is contained in:
bkfox
2016-07-22 05:50:00 +02:00
parent 4bbffa9a50
commit ba3bf68e33
50 changed files with 950 additions and 4836 deletions

20
cms/settings.py Executable file
View File

@ -0,0 +1,20 @@
import os
from django.conf import settings
def ensure (key, default):
globals()[key] = getattr(settings, key, default)
ensure('AIRCOX_CMS_BLEACH_COMMENT_TAGS', [
'i', 'emph', 'b', 'strong', 'strike', 's',
'p', 'span', 'quote','blockquote','code',
'sup', 'sub', 'a',
])
ensure('AIRCOX_CMS_BLEACH_COMMENT_ATTRS', {
'*': ['title'],
'a': ['href', 'rel'],
})