2014-04-02 00:46:34 +00:00
|
|
|
from django.conf.urls import include, url
|
2014-12-07 23:21:07 +00:00
|
|
|
from django.contrib.flatpages.sitemaps import FlatPageSitemap
|
|
|
|
from django.contrib.sitemaps import views
|
2010-08-27 13:55:11 +00:00
|
|
|
|
|
|
|
# special urls for flatpage test cases
|
2014-04-02 00:46:34 +00:00
|
|
|
urlpatterns = [
|
2014-12-07 23:21:07 +00:00
|
|
|
url(r'^flatpages/sitemap\.xml$', views.sitemap,
|
|
|
|
{'sitemaps': {'flatpages': FlatPageSitemap}},
|
|
|
|
name='django.contrib.sitemaps.views.sitemap'),
|
|
|
|
|
2014-04-02 00:46:34 +00:00
|
|
|
url(r'^flatpage_root', include('django.contrib.flatpages.urls')),
|
|
|
|
url(r'^accounts/', include('django.contrib.auth.urls')),
|
|
|
|
]
|