2011-09-12 06:36:16 +08:00
|
|
|
from django.conf.urls import patterns
|
2010-01-28 21:46:18 +08:00
|
|
|
|
2011-10-14 05:34:56 +08:00
|
|
|
from . import feeds
|
|
|
|
|
2008-03-20 14:35:53 +08:00
|
|
|
|
2010-01-28 21:46:18 +08:00
|
|
|
urlpatterns = patterns('django.contrib.syndication.views',
|
2011-04-02 21:27:17 +08:00
|
|
|
(r'^syndication/complex/(?P<foo>.*)/$', feeds.ComplexFeed()),
|
|
|
|
(r'^syndication/rss2/$', feeds.TestRss2Feed()),
|
2013-02-06 18:25:35 +08:00
|
|
|
(r'^syndication/rss2/guid_ispermalink_true/$',
|
|
|
|
feeds.TestRss2FeedWithGuidIsPermaLinkTrue()),
|
|
|
|
(r'^syndication/rss2/guid_ispermalink_false/$',
|
|
|
|
feeds.TestRss2FeedWithGuidIsPermaLinkFalse()),
|
2011-04-02 21:27:17 +08:00
|
|
|
(r'^syndication/rss091/$', feeds.TestRss091Feed()),
|
2012-10-01 02:44:27 +08:00
|
|
|
(r'^syndication/no_pubdate/$', feeds.TestNoPubdateFeed()),
|
2011-04-02 21:27:17 +08:00
|
|
|
(r'^syndication/atom/$', feeds.TestAtomFeed()),
|
2013-07-18 03:20:20 +08:00
|
|
|
(r'^syndication/latest/$', feeds.TestLatestFeed()),
|
2011-04-02 21:27:17 +08:00
|
|
|
(r'^syndication/custom/$', feeds.TestCustomFeed()),
|
|
|
|
(r'^syndication/naive-dates/$', feeds.NaiveDatesFeed()),
|
|
|
|
(r'^syndication/aware-dates/$', feeds.TZAwareDatesFeed()),
|
|
|
|
(r'^syndication/feedurl/$', feeds.TestFeedUrlFeed()),
|
|
|
|
(r'^syndication/articles/$', feeds.ArticlesFeed()),
|
|
|
|
(r'^syndication/template/$', feeds.TemplateFeed()),
|
2013-02-24 22:00:34 +08:00
|
|
|
(r'^syndication/template_context/$', feeds.TemplateContextFeed()),
|
2008-03-20 14:35:53 +08:00
|
|
|
)
|