Wagtail 2.13 tweaks

This commit is contained in:
datalets 2021-06-07 17:43:12 +02:00
parent c18af280d9
commit ee694962bc
2 changed files with 2 additions and 2 deletions

View file

@ -9,7 +9,7 @@ from wagtail.contrib.settings.models import BaseSetting, register_setting
# A simple feedback module built into the site admin
@register_setting(icon='help')
@register_setting(icon='', classnames='icon icon-help')
class DataletsSettings(BaseSetting):
feedback_question = models.TextField(verbose_name='Name',
help_text='Who should we reply to for questions?', blank=True)

View file

@ -28,8 +28,8 @@ MIDDLEWARE = (
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'django.middleware.security.SecurityMiddleware',
'wagtail.core.middleware.SiteMiddleware',
'wagtail.contrib.redirects.middleware.RedirectMiddleware',
# 'wagtail.contrib.legacy.sitemiddleware.SiteMiddleware', # deprecated in 2.11
)
ROOT_URLCONF = 'tests.testapp.urls'