Opened 7 years ago
Last modified 7 years ago
#30338 closed Bug
sitemap.xml template should not use localization — at Version 2
| Reported by: | Christian Peters | Owned by: | nobody |
|---|---|---|---|
| Component: | contrib.sitemaps | Version: | 2.2 |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Accepted | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | yes | Patch needs improvement: | no |
| Easy pickings: | yes | UI/UX: | no |
Description (last modified by )
The sitemap.xml receives a priority as float. This float should never be localized, even if localization is generally turned on.
https://github.com/django/django/blob/master/django/contrib/sitemaps/templates/sitemap.xml#L9
Pull Request: https://github.com/django/django/pull/11183
Change History (2)
comment:1 by , 7 years ago
comment:2 by , 7 years ago
| Description: | modified (diff) |
|---|
Note:
See TracTickets
for help on using tickets.
PR: https://github.com/django/django/pull/11183