Make compatible with latest Wagtail version (2.11.2)
This commit is contained in:
@@ -59,7 +59,7 @@ MIDDLEWARE = (
|
||||
'django.contrib.messages.middleware.MessageMiddleware',
|
||||
'django.middleware.clickjacking.XFrameOptionsMiddleware',
|
||||
|
||||
'wagtail.core.middleware.SiteMiddleware',
|
||||
'wagtail.contrib.legacy.sitemiddleware.SiteMiddleware',
|
||||
)
|
||||
|
||||
INSTALLED_APPS = (
|
||||
@@ -91,3 +91,18 @@ PASSWORD_HASHERS = (
|
||||
)
|
||||
|
||||
WAGTAIL_SITE_NAME = 'wagtail-personalisation test'
|
||||
|
||||
|
||||
# LANGUAGE_CODE = "en"
|
||||
# TIME_ZONE = "UTC"
|
||||
# USE_I18N = True
|
||||
# USE_L10N = True
|
||||
# USE_TZ = True
|
||||
|
||||
# # Wagtail
|
||||
# WAGTAIL_I18N_ENABLED = True
|
||||
|
||||
# WAGTAIL_CONTENT_LANGUAGES = LANGUAGES = [
|
||||
# ("en", "English"),
|
||||
# ("nl", "Dutch"),
|
||||
# ]
|
||||
|
Reference in New Issue
Block a user