kopia lustrzana https://github.com/wagtail/wagtail
Fix incorrect urls in the docs
rodzic
98c66359a8
commit
8c306910dd
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)),
|
||||
]
|
||||
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue