File: urls.py

package info (click to toggle)
python-django 1.7.1-1~bpo70%2B1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy-backports
  • size: 44,904 kB
  • sloc: python: 168,907; xml: 713; makefile: 195; sh: 170; sql: 11
file content (24 lines) | stat: -rw-r--r-- 1,100 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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()),
)