Wagtail 2.13 tweaks
This commit is contained in:
parent
c18af280d9
commit
ee694962bc
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue