2016-11-22 19:56:22 +08:00
|
|
|
from django.contrib.sitemaps import views
|
2018-12-08 06:52:28 +08:00
|
|
|
from django.urls import path
|
2016-11-22 19:56:22 +08:00
|
|
|
|
|
|
|
from .http import simple_sitemaps
|
|
|
|
|
|
|
|
urlpatterns = [
|
2018-12-08 06:52:28 +08:00
|
|
|
path(
|
|
|
|
"simple/index.xml",
|
|
|
|
views.index,
|
|
|
|
{"sitemaps": simple_sitemaps},
|
2016-11-22 19:56:22 +08:00
|
|
|
name="django.contrib.sitemaps.views.index",
|
|
|
|
),
|
|
|
|
]
|