You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
617 B
14 lines
617 B
from django.conf.urls.defaults import * |
|
from feeds import feed_dict |
|
|
|
urlpatterns = patterns('', |
|
(r'^feeds/(?P<url>.*)/$', 'django.contrib.syndication.views.feed', {'feed_dict': feed_dict}), |
|
) |
|
|
|
from sitemaps import sitemaps |
|
urlpatterns += patterns('django.contrib.gis.sitemaps.views', |
|
(r'^sitemap.xml$', 'index', {'sitemaps' : sitemaps}), |
|
(r'^sitemaps/(?P<section>\w+)\.xml$', 'sitemap', {'sitemaps' : sitemaps}), |
|
(r'^sitemaps/kml/(?P<label>\w+)/(?P<model>\w+)/(?P<field_name>\w+)\.kml$', 'kml'), |
|
(r'^sitemaps/kml/(?P<label>\w+)/(?P<model>\w+)/(?P<field_name>\w+)\.kmz$', 'kmz'), |
|
)
|
|
|