Debian Codegraph @

tests/syndication_tests/urls.py

raw
1 from django.urls import path
2
3 from . import feeds
4
5 urlpatterns = [
6 path("syndication/rss2/", feeds.TestRss2Feed()),
7 path(
8 "syndication/rss2/with-callable-object/", feeds.TestRss2FeedWithCallableObject()
9 ),
10 path(
11 "syndication/rss2/with-decorated-methods/",
12 feeds.TestRss2FeedWithDecoratedMethod(),
13 ),
14 path(
15 "syndication/rss2/with-wrong-decorated-methods/",
16 feeds.TestRss2FeedWithWrongDecoratedMethod(),
17 ),
18 path("syndication/rss2/articles/<int:entry_id>/", feeds.TestGetObjectFeed()),
19 path(
20 "syndication/rss2/guid_ispermalink_true/",
21 feeds.TestRss2FeedWithGuidIsPermaLinkTrue(),
22 ),
23 path(
24 "syndication/rss2/guid_ispermalink_false/",
25 feeds.TestRss2FeedWithGuidIsPermaLinkFalse(),
26 ),
27 path("syndication/rss091/", feeds.TestRss091Feed()),
28 path("syndication/no_pubdate/", feeds.TestNoPubdateFeed()),
29 path("syndication/atom/", feeds.TestAtomFeed()),
30 path("syndication/latest/", feeds.TestLatestFeed()),
31 path("syndication/custom/", feeds.TestCustomFeed()),
32 path("syndication/language/", feeds.TestLanguageFeed()),
33 path("syndication/naive-dates/", feeds.NaiveDatesFeed()),
34 path("syndication/aware-dates/", feeds.TZAwareDatesFeed()),
35 path("syndication/feedurl/", feeds.TestFeedUrlFeed()),
36 path("syndication/articles/", feeds.ArticlesFeed()),
37 path("syndication/template/", feeds.TemplateFeed()),
38 path("syndication/template_context/", feeds.TemplateContextFeed()),
39 path("syndication/stylesheet/", feeds.TestFeedWithStylesheets()),
40 path("syndication/rss2/single-enclosure/", feeds.TestSingleEnclosureRSSFeed()),
41 path("syndication/rss2/multiple-enclosure/", feeds.TestMultipleEnclosureRSSFeed()),
42 path("syndication/atom/single-enclosure/", feeds.TestSingleEnclosureAtomFeed()),
43 path("syndication/atom/multiple-enclosure/", feeds.TestMultipleEnclosureAtomFeed()),
44 path(
45 "syndication/stylesheet.xsl",
46 lambda request: None,
47 name="syndication-xsl-stylesheet",
48 ),
49 ]