django/tests/regressiontests/syndication/urls.py

15 lines
423 B
Python
Raw Normal View History

import feeds
from django.conf.urls.defaults import patterns
feed_dict = {
'complex': feeds.ComplexFeed,
'rss': feeds.TestRssFeed,
'atom': feeds.TestAtomFeed,
'custom': feeds.TestCustomFeed,
'naive-dates': feeds.NaiveDatesFeed,
'aware-dates': feeds.TZAwareDatesFeed,
}
urlpatterns = patterns('',
(r'^feeds/(?P<url>.*)/$', 'django.contrib.syndication.views.feed', {'feed_dict': feed_dict})
)