mirror of
https://github.com/django/django.git
synced 2024-12-27 03:25:58 +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})
|
|
)
|