Fix incorrect urls in the docs

pull/6211/head
Storm Heg 2020-02-21 13:35:53 +00:00 zatwierdzone przez Matt Westcott
rodzic 98c66359a8
commit 8c306910dd
3 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -163,7 +163,7 @@ file for the ``/amp`` prefix:
# Change this line to point at your amp_urls instead of Wagtail's urls
path('amp/', include(wagtail_amp_urls)),
path('', include(wagtail_urls)),
re_path(r'', include(wagtail_urls)),
]
After this, there shouldn't be any noticeable difference to the AMP version of

Wyświetl plik

@ -33,7 +33,7 @@ Add an entry for the view into your URLs configuration:
...
# Ensure that the wagtailimages_serve line appears above the default Wagtail page serving route
path('', include(wagtail_urls)),
re_path(r'', include(wagtail_urls)),
]
Usage

Wyświetl plik

@ -52,7 +52,7 @@ sitemap:
...
# Ensure that the 'sitemap' line appears above the default Wagtail page serving route
path('', include(wagtail_urls)),
re_path(r'', include(wagtail_urls)),
]