@@ -466,7 +466,7 @@ Also add:
466
466
467
467
.. code-block ::
468
468
469
- "django:django .middleware.locale.LocaleMiddleware", # not installed by default
469
+ "django.middleware.locale.LocaleMiddleware", # not installed by default
470
470
471
471
"cms.middleware.user.CurrentUserMiddleware",
472
472
"cms.middleware.page.CurrentPageMiddleware",
503
503
~~~~
504
504
505
505
In the project's ``urls.py ``, add ``path("", include("cms.urls")) `` to the
506
- ``urlpatterns `` list, preferably as ``i18patterns ``. It should come after other
506
+ ``urlpatterns `` list, preferably as ``i18n_patterns ``. It should come after other
507
507
patterns, so that specific URLs for other applications can be detected first.
508
508
509
509
You'll also need to have an import for ``django.urls.include ``. For example:
@@ -514,7 +514,7 @@ You'll also need to have an import for ``django.urls.include``. For example:
514
514
from django.conf.urls.i18n import i18n_patterns
515
515
from django.urls import include, path
516
516
517
- urlpatterns = i18patterns (
517
+ urlpatterns = i18n_patterns (
518
518
path(" admin/" , admin.site.urls),
519
519
path(" " , include(" cms.urls" )),
520
520
)
@@ -783,8 +783,9 @@ Install: ``pip install djangocms-frontend`` and it and its subpackages to
783
783
784
784
INSTALLED_APPS = [
785
785
...,
786
- "easy_thumbnails',
787
- "djangocms_frontend',
786
+ "easy_thumbnails",
787
+ "djangocms_frontend",
788
+ "djangocms_link",
788
789
"djangocms_frontend.contrib.accordion",
789
790
"djangocms_frontend.contrib.alert",
790
791
"djangocms_frontend.contrib.badge",
0 commit comments