mirror of
https://github.com/django/django.git
synced 2024-12-23 09:36:06 +00:00
5c1143910e
Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way.
25 lines
1.1 KiB
Python
25 lines
1.1 KiB
Python
from django.conf.urls import patterns
|
|
|
|
from . import feeds
|
|
|
|
|
|
urlpatterns = patterns('django.contrib.syndication.views',
|
|
(r'^syndication/complex/(?P<foo>.*)/$', feeds.ComplexFeed()),
|
|
(r'^syndication/rss2/$', feeds.TestRss2Feed()),
|
|
(r'^syndication/rss2/guid_ispermalink_true/$',
|
|
feeds.TestRss2FeedWithGuidIsPermaLinkTrue()),
|
|
(r'^syndication/rss2/guid_ispermalink_false/$',
|
|
feeds.TestRss2FeedWithGuidIsPermaLinkFalse()),
|
|
(r'^syndication/rss091/$', feeds.TestRss091Feed()),
|
|
(r'^syndication/no_pubdate/$', feeds.TestNoPubdateFeed()),
|
|
(r'^syndication/atom/$', feeds.TestAtomFeed()),
|
|
(r'^syndication/latest/$', feeds.TestLatestFeed()),
|
|
(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()),
|
|
(r'^syndication/template_context/$', feeds.TemplateContextFeed()),
|
|
)
|