mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-05 14:04:46 +00:00
one letter spelling mistake
Had been merged by the time I noticed my own mistake. Corrected 1 letter.
This commit is contained in:
parent
ddd63bdb59
commit
d49bc21469
1 changed files with 1 additions and 1 deletions
|
|
@ -79,7 +79,7 @@ Now make the following additions to your ``urls.py`` file:
|
|||
|
||||
.. important::
|
||||
|
||||
The example aboves assumes you are using Django version 2.0 or later. If you are using a Django version earlier than 2.0, you should rename all occurrences of re_path() to url(). For example: ``from django.urls import path, url, include`` instead of ``from django.urls import path, re_path, include`` and ``url(r'^cms/', include(wagtailadmin_urls)),`` instead of ``re_path(r'^cms/', include(wagtailadmin_urls)),``.
|
||||
The example above assumes you are using Django version 2.0 or later. If you are using a Django version earlier than 2.0, you should rename all occurrences of re_path() to url(). For example: ``from django.urls import path, url, include`` instead of ``from django.urls import path, re_path, include`` and ``url(r'^cms/', include(wagtailadmin_urls)),`` instead of ``re_path(r'^cms/', include(wagtailadmin_urls)),``.
|
||||
(`read more <https://docs.djangoproject.com/en/2.1/ref/urls/#url>`_).
|
||||
|
||||
The URL paths here can be altered as necessary to fit your project's URL scheme.
|
||||
|
|
|
|||
Loading…
Reference in a new issue