File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -24,12 +24,6 @@ def validate_settings():
24
24
if 'django.core.context_processors.request' not in settings .TEMPLATE_CONTEXT_PROCESSORS :
25
25
raise ImproperlyConfigured ('django CMS requires django.core.context_processors.request in settings.TEMPLATE_CONTEXT_PROCESSORS to work correctly.' )
26
26
27
- multilingual_middleware = 'cms.middleware.multilingual.MultilingualURLMiddleware'
28
- locale_middleware = 'django.middleware.locale.LocaleMiddleware'
29
-
30
- if multilingual_middleware in settings .MIDDLEWARE_CLASSES and locale_middleware in settings .MIDDLEWARE_CLASSES :
31
- raise ImproperlyConfigured ('django CMS MultilingualURLMiddleware replaces django.middleware.locale.LocaleMiddleware! Please remove django.middleware.locale.LocaleMiddleware from your MIDDLEWARE_CLASSES settings.' )
32
-
33
27
34
28
def setup ():
35
29
"""
You can’t perform that action at this time.
0 commit comments