File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -128,9 +128,11 @@ of the new functionality in django 1.4 and can be found here:
128
128
129
129
What you need to do:
130
130
131
- - Remove the MultilingualMiddleware from your settings.
132
- - Be sure the LocaleMiddleware is in your settings and that it comes after the SessionMiddleware.
133
- - Be sure that the cms.urls is included in a i18n_patterns::
131
+ - Remove ``cms.middleware.multilingual.MultilingualURLMiddleware `` from your
132
+ settings.
133
+ - Be sure ``django.middleware.locale.LocaleMiddleware `` is in your settings,
134
+ and that it comes after the SessionMiddleware.
135
+ - Be sure that the cms.urls is included in a ``i18n_patterns ``::
134
136
135
137
from django.conf.urls.defaults import *
136
138
from django.conf.urls.i18n import i18n_patterns
Original file line number Diff line number Diff line change 1
- {% load i18n_compat menu_tags %}
1
+ {% load i18n menu_tags %}
2
2
{% get_available_languages as languages %}
3
3
{% for language in languages %}
4
4
{% language language.0 %}
You can’t perform that action at this time.
0 commit comments