Skip to content

Commit

Permalink
python/django: Use variable name that is unlikely to conflict with mo…
Browse files Browse the repository at this point in the history
…dule name
  • Loading branch information
jpmckinney committed Dec 11, 2023
1 parent f58a4d7 commit 5db38a8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
from django.contrib.sitemaps.views import sitemap
from django.urls import path

sitemaps = {}
maps = {}

urlpatterns = [
path("admin/", admin.site.urls),
path("sitemap.xml", sitemap, {"sitemaps": sitemaps}, name="django.contrib.sitemaps.views.sitemap"),
path("sitemap.xml", sitemap, {"sitemaps": maps}, name="django.contrib.sitemaps.views.sitemap"),
]

0 comments on commit 5db38a8

Please sign in to comment.