Don't require trailing / on RSS feed URLs.

This commit is contained in:
Bradley M. Kuhn 2010-10-05 10:45:50 -04:00
parent 888028f64b
commit 9b59b9efe3

View file

@ -5,7 +5,7 @@ handler404 = 'modpythoncustom.view404'
urlpatterns = patterns('',
(r'^$', 'conservancy.frontpage.view'),
(r'^feeds/(?P<url>.*)/$', 'django.contrib.syndication.views.feed',
(r'^feeds/(?P<url>.*)/?$', 'django.contrib.syndication.views.feed',
{'feed_dict': feed_dict}),
(r'^feeds/$', 'conservancy.feeds.view'),
(r'^news/', include('conservancy.apps.news.urls')),