django/tests/flatpages_tests/urls.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
472 B
Python
Raw Normal View History

from django.contrib.flatpages.sitemaps import FlatPageSitemap
from django.contrib.sitemaps import views
from django.urls import include, path
urlpatterns = [
path(
"flatpages/sitemap.xml",
views.sitemap,
{"sitemaps": {"flatpages": FlatPageSitemap}},
name="django.contrib.sitemaps.views.sitemap",
),
path("flatpage_root/", include("django.contrib.flatpages.urls")),
path("accounts/", include("django.contrib.auth.urls")),
]