mirror of
https://github.com/django/django.git
synced 2024-11-18 23:44:22 +00:00
2c3c1f3ec4
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10435 bcc190cf-cafb-0310-a4f2-bffc1f526a37
15 lines
423 B
Python
15 lines
423 B
Python
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})
|
|
)
|