1
0
mirror of https://github.com/django/django.git synced 2024-11-20 00:14:08 +00:00
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})
)