File: urls.py

package info (click to toggle)
python-django 1%3A1.11.29-1~deb10u1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 47,428 kB
  • sloc: python: 220,776; javascript: 13,523; makefile: 209; xml: 201; sh: 64
file content (26 lines) | stat: -rw-r--r-- 1,381 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
from django.conf.urls import url

from . import feeds

urlpatterns = [
    url(r'^syndication/rss2/$', feeds.TestRss2Feed()),
    url(r'^syndication/rss2/guid_ispermalink_true/$',
        feeds.TestRss2FeedWithGuidIsPermaLinkTrue()),
    url(r'^syndication/rss2/guid_ispermalink_false/$',
        feeds.TestRss2FeedWithGuidIsPermaLinkFalse()),
    url(r'^syndication/rss091/$', feeds.TestRss091Feed()),
    url(r'^syndication/no_pubdate/$', feeds.TestNoPubdateFeed()),
    url(r'^syndication/atom/$', feeds.TestAtomFeed()),
    url(r'^syndication/latest/$', feeds.TestLatestFeed()),
    url(r'^syndication/custom/$', feeds.TestCustomFeed()),
    url(r'^syndication/naive-dates/$', feeds.NaiveDatesFeed()),
    url(r'^syndication/aware-dates/$', feeds.TZAwareDatesFeed()),
    url(r'^syndication/feedurl/$', feeds.TestFeedUrlFeed()),
    url(r'^syndication/articles/$', feeds.ArticlesFeed()),
    url(r'^syndication/template/$', feeds.TemplateFeed()),
    url(r'^syndication/template_context/$', feeds.TemplateContextFeed()),
    url(r'^syndication/rss2/single-enclosure/$', feeds.TestSingleEnclosureRSSFeed()),
    url(r'^syndication/rss2/multiple-enclosure/$', feeds.TestMultipleEnclosureRSSFeed()),
    url(r'^syndication/atom/single-enclosure/$', feeds.TestSingleEnclosureAtomFeed()),
    url(r'^syndication/atom/multiple-enclosure/$', feeds.TestMultipleEnclosureAtomFeed()),
]