[geany/www.geany.org] a780df: Name the "sitemap.xml" URL to fix Django's auto detection

Enrico Tröger git-noreply at xxxxx
Sun Jun 23 09:37:39 UTC 2019


Branch:      refs/heads/master
Author:      Enrico Tröger <enrico.troeger at uvena.de>
Committer:   Enrico Tröger <enrico.troeger at uvena.de>
Date:        Sun, 23 Jun 2019 09:37:39 UTC
Commit:      a780dfd36d3ed1993dc3672d523954ae67dac1ca
             https://github.com/geany/www.geany.org/commit/a780dfd36d3ed1993dc3672d523954ae67dac1ca

Log Message:
-----------
Name the "sitemap.xml" URL to fix Django's auto detection

This is necessary for the "ping_google" management command.


Modified Paths:
--------------
    geany/urls.py

Modified: geany/urls.py
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -48,7 +48,7 @@
 # Geany patterns
 urlpatterns += (
     # use our custom sitemap implementation
-    url(r"^sitemap\.xml$", sitemap, sitemaps),
+    url(r"^sitemap\.xml$", sitemap, sitemaps, name='django.contrib.sitemaps.views.sitemap'),
 
     # Release Notes, NEWS, etc.
     url(r"^", include("static_docs.urls")),



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list