8000 Update install documentation to use re_path (#6613) (#6635) · django-cms/django-cms@b93633d · GitHub
[go: up one dir, main page]

Skip to content

Commit b93633d

Browse files
authored
Update install documentation to use re_path (#6613) (#6635)
1 parent 9f44fa4 commit b93633d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/how_to/install.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ URLs
254254
====
255255

256256
In the project's ``urls.py``, add ``url(r'^', include('cms.urls'))`` to the ``urlpatterns`` list. It should come after
257-
other patterns, so that specific URLs for other applications can be detected first.
257+
other patterns, so that specific URLs for other applications can be detected first. Note: when using Django 2.0 or later the syntax is ``re_path(r'^', include('cms.urls'))``
258258

259259
You'll also need to have an import for ``django.conf.urls.include``. For example:
260260

0 commit comments

Comments
 (0)
0