1
0
mirror of https://github.com/django/django.git synced 2025-03-25 00:30:45 +00:00

[1.11.x] Fixed incorrect namespace in sitemap example.

Backport of 274ca999825bb782bbbddd769783cf2aa91de7f9 from master
This commit is contained in:
Arkadiusz Adamski 2017-01-30 18:07:14 +01:00 committed by Tim Graham
parent b183abfc8d
commit f11c0008bc

View File

@ -456,7 +456,7 @@ generate a Google News compatible sitemap:
<?xml version="1.0" encoding="UTF-8"?>
<urlset
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:news="https://www.google.com/schemas/sitemap-news/0.9">
xmlns:news="http://www.google.com/schemas/sitemap-news/0.9">
{% spaceless %}
{% for url in urlset %}
<url>