mirror of
https://github.com/django/django.git
synced 2024-12-25 02:26:12 +00:00
c4c27d8a04
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12338 bcc190cf-cafb-0310-a4f2-bffc1f526a37
25 lines
811 B
Python
25 lines
811 B
Python
from django.conf.urls.defaults import *
|
|
|
|
import feeds
|
|
|
|
feed_dict = {
|
|
'complex': feeds.DeprecatedComplexFeed,
|
|
'rss': feeds.DeprecatedRssFeed,
|
|
}
|
|
|
|
urlpatterns = patterns('django.contrib.syndication.views',
|
|
(r'^complex/(?P<foo>.*)/$', feeds.ComplexFeed()),
|
|
(r'^rss2/$', feeds.TestRss2Feed()),
|
|
(r'^rss091/$', feeds.TestRss091Feed()),
|
|
(r'^atom/$', feeds.TestAtomFeed()),
|
|
(r'^custom/$', feeds.TestCustomFeed()),
|
|
(r'^naive-dates/$', feeds.NaiveDatesFeed()),
|
|
(r'^aware-dates/$', feeds.TZAwareDatesFeed()),
|
|
(r'^feedurl/$', feeds.TestFeedUrlFeed()),
|
|
(r'^articles/$', feeds.ArticlesFeed()),
|
|
(r'^template/$', feeds.TemplateFeed()),
|
|
|
|
(r'^depr-feeds/(?P<url>.*)/$', 'feed', {'feed_dict': feed_dict}),
|
|
(r'^depr-feeds-empty/(?P<url>.*)/$', 'feed', {'feed_dict': None}),
|
|
)
|