mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Added tests for contrib.sitemaps.ping_google().
This commit is contained in:
9
tests/sitemaps_tests/urls/index_only.py
Normal file
9
tests/sitemaps_tests/urls/index_only.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from django.conf.urls import url
|
||||
from django.contrib.sitemaps import views
|
||||
|
||||
from .http import simple_sitemaps
|
||||
|
||||
urlpatterns = [
|
||||
url(r'^simple/index\.xml$', views.index, {'sitemaps': simple_sitemaps},
|
||||
name='django.contrib.sitemaps.views.index'),
|
||||
]
|
||||
Reference in New Issue
Block a user