2014-12-08 00:21:07 +01:00
|
|
|
from django.contrib.flatpages.sitemaps import FlatPageSitemap
|
|
|
|
from django.contrib.sitemaps import views
|
2018-12-07 23:52:28 +01:00
|
|
|
from django.urls import include, path
|
2010-08-27 15:55:11 +02:00
|
|
|
|
2014-04-02 02:46:34 +02:00
|
|
|
urlpatterns = [
|
2018-12-07 23:52:28 +01:00
|
|
|
path(
|
|
|
|
"flatpages/sitemap.xml",
|
|
|
|
views.sitemap,
|
2014-12-08 00:21:07 +01:00
|
|
|
{"sitemaps": {"flatpages": FlatPageSitemap}},
|
|
|
|
name="django.contrib.sitemaps.views.sitemap",
|
|
|
|
),
|
2020-01-28 12:58:46 +01:00
|
|
|
path("flatpage_root/", include("django.contrib.flatpages.urls")),
|
2018-12-07 23:52:28 +01:00
|
|
|
path("accounts/", include("django.contrib.auth.urls")),
|
2014-04-02 02:46:34 +02:00
|
|
|
]
|