django1/tests/sitemaps_tests/urls/sitemap_only.py

10 lines
241 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',
),
]