mirror of
https://github.com/django/django.git
synced 2024-12-30 13:05:45 +00:00
36bf6ec9eb
Backport of d3a725054f
from master
14 lines
497 B
Python
14 lines
497 B
Python
from django.conf.urls import include, url
|
|
from django.contrib.flatpages.sitemaps import FlatPageSitemap
|
|
from django.contrib.sitemaps import views
|
|
|
|
# special urls for flatpage test cases
|
|
urlpatterns = [
|
|
url(r'^flatpages/sitemap\.xml$', views.sitemap,
|
|
{'sitemaps': {'flatpages': FlatPageSitemap}},
|
|
name='django.contrib.sitemaps.views.sitemap'),
|
|
|
|
url(r'^flatpage_root', include('django.contrib.flatpages.urls')),
|
|
url(r'^accounts/', include('django.contrib.auth.urls')),
|
|
]
|