urls.py 1013 B

123456789101112131415161718192021222324
  1. from __future__ import absolute_import
  2. from django.conf.urls import patterns
  3. from . import feeds
  4. urlpatterns = patterns('django.contrib.syndication.views',
  5. (r'^syndication/complex/(?P<foo>.*)/$', feeds.ComplexFeed()),
  6. (r'^syndication/rss2/$', feeds.TestRss2Feed()),
  7. (r'^syndication/rss2/guid_ispermalink_true/$',
  8. feeds.TestRss2FeedWithGuidIsPermaLinkTrue()),
  9. (r'^syndication/rss2/guid_ispermalink_false/$',
  10. feeds.TestRss2FeedWithGuidIsPermaLinkFalse()),
  11. (r'^syndication/rss091/$', feeds.TestRss091Feed()),
  12. (r'^syndication/no_pubdate/$', feeds.TestNoPubdateFeed()),
  13. (r'^syndication/atom/$', feeds.TestAtomFeed()),
  14. (r'^syndication/custom/$', feeds.TestCustomFeed()),
  15. (r'^syndication/naive-dates/$', feeds.NaiveDatesFeed()),
  16. (r'^syndication/aware-dates/$', feeds.TZAwareDatesFeed()),
  17. (r'^syndication/feedurl/$', feeds.TestFeedUrlFeed()),
  18. (r'^syndication/articles/$', feeds.ArticlesFeed()),
  19. (r'^syndication/template/$', feeds.TemplateFeed()),
  20. )