diff options
Diffstat (limited to 'settings.py')
-rw-r--r-- | settings.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/settings.py b/settings.py index 7c05550..bcb972e 100644 --- a/settings.py +++ b/settings.py @@ -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 |