1
0
mirror of https://github.com/django/django.git synced 2025-01-01 14:06:06 +00:00
django/tests/sitemaps_tests/urls/sitemap_only.py

12 lines
257 B
Python
Raw Normal View History

from django.contrib.sitemaps import views
from django.urls import path
urlpatterns = [
path(
"sitemap-without-entries/sitemap.xml",
views.sitemap,
{"sitemaps": {}},
name="django.contrib.sitemaps.views.sitemap",
),
]