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
376 B
14 lines
376 B
|
13 years ago
|
from feeds import TestRssFeed, TestAtomFeed, TestCustomFeed, ComplexFeed
|
||
|
|
from django.conf.urls.defaults import patterns
|
||
|
|
|
||
|
|
feed_dict = {
|
||
|
|
'complex': ComplexFeed,
|
||
|
|
'rss': TestRssFeed,
|
||
|
|
'atom': TestAtomFeed,
|
||
|
|
'custom': TestCustomFeed,
|
||
|
|
|
||
|
|
}
|
||
|
|
urlpatterns = patterns('',
|
||
|
|
(r'^feeds/(?P<url>.*)/$', 'django.contrib.syndication.views.feed', {'feed_dict': feed_dict})
|
||
|
|
)
|