Fixes: 1) Corrected sitemap_url_name to include "core:" prefix in sitemap.xml path definition;
Extra: 1) Improved readability by reformatting dictionary syntax.
This commit is contained in:
parent
c7d8fcbe03
commit
7f9673451a
1 changed files with 4 additions and 1 deletions
|
|
@ -59,7 +59,10 @@ urlpatterns = [
|
||||||
path(
|
path(
|
||||||
"sitemap.xml",
|
"sitemap.xml",
|
||||||
sitemap_index,
|
sitemap_index,
|
||||||
{"sitemaps": sitemaps, "sitemap_url_name": "sitemap-detail"},
|
{
|
||||||
|
"sitemaps": sitemaps,
|
||||||
|
"sitemap_url_name": "core:sitemap-detail",
|
||||||
|
},
|
||||||
name="sitemap-index",
|
name="sitemap-index",
|
||||||
),
|
),
|
||||||
path(
|
path(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue