mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Refs #25916 -- Isolated sitemap.test_utils tests
This commit is contained in:
committed by
Carlton Gibson
parent
2ccc0b22db
commit
2ce03a2bac
9
tests/sitemaps_tests/urls/sitemap_only.py
Normal file
9
tests/sitemaps_tests/urls/sitemap_only.py
Normal file
@@ -0,0 +1,9 @@
|
||||
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',
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user