diff options
author | Dan McGee <dan@archlinux.org> | 2014-11-08 15:52:18 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2014-11-08 15:54:56 -0600 |
commit | a3015ba8429a09878ed6c35d7c7c76a882de7dcf (patch) | |
tree | d843983822650f7734f799b9b0c9a2d50ebb6ea3 /urls.py | |
parent | 1a35cbe842212d674d83196ecfa70569ffe2e2da (diff) |
Override default sitemap.xml template
The Django one uses the spaceless tag, which isn't all that useful when
we are gzipping the response anyway. Remove it to make generation a tad
faster.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'urls.py')
-rw-r--r-- | urls.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -81,7 +81,7 @@ urlpatterns += patterns('', {'sitemaps': our_sitemaps, 'sitemap_url_name': 'sitemaps'}), (r'^sitemap-(?P<section>.+)\.xml$', cache_page(1831)(sitemap_views.sitemap), - {'sitemaps': our_sitemaps}, 'sitemaps'), + {'sitemaps': our_sitemaps, 'template_name': 'sitemaps/sitemap.xml'}, 'sitemaps'), ) # Authentication / Admin |