2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-15 02:47:24 +00:00

Refactorising CodeMirror HTML editor, with an ultimate aim to make it reusable. However more work if required...

This commit is contained in:
Martin Green
2022-06-26 14:16:42 +01:00
parent 8f0ea8ed82
commit f1fcef2a6f
6 changed files with 210 additions and 233 deletions

View File

@@ -134,10 +134,13 @@ INSTALLED_APPS = (
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.admindocs',
'django.forms', #Required to customise widget templates
# 'django.contrib.staticfiles', # We put our CSS etc explicitly in the right place so do not need this
'troggle.core',
)
FORM_RENDERER = 'django.forms.renderers.TemplatesSetting' #Required to customise widget templates
# See the recommended order of these in https://docs.djangoproject.com/en/2.2/ref/middleware/
# Note that this is a radically different onion architecture from earlier versions though it looks the same,
# see https://docs.djangoproject.com/en/2.0/topics/http/middleware/#upgrading-pre-django-1-10-style-middleware