urls.py 1.1 KB

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