sitemap_only.py 257 B

1234567891011
  1. from django.contrib.sitemaps import views
  2. from django.urls import path
  3. urlpatterns = [
  4. path(
  5. "sitemap-without-entries/sitemap.xml",
  6. views.sitemap,
  7. {"sitemaps": {}},
  8. name="django.contrib.sitemaps.views.sitemap",
  9. ),
  10. ]