[Feeds] update / fix feed-downloader
[mygpo.git] / mygpo / directory / urls.py
blob5cfc5d3f563518262e370b5d4a770c9373a6b3bb
1 from django.conf.urls import *
3 from mygpo.directory.views import Directory, Carousel, MissingPodcast, \
4 AddPodcast, AddPodcastStatus, FlattrPodcastList, LicensePodcastList, \
5 LicenseList, PodcastToplistView, EpisodeToplistView
7 urlpatterns = patterns('mygpo.directory.views',
8 url(r'^toplist/$',
9 PodcastToplistView.as_view(),
10 name='toplist'),
12 url(r'^toplist/episodes$',
13 EpisodeToplistView.as_view(),
14 name='episode-toplist'),
16 url(r'^directory/$',
17 Directory.as_view(),
18 name='directory-home'),
20 url(r'^carousel/$',
21 Carousel.as_view(),
22 name='carousel-demo'),
24 url(r'^missing/$',
25 MissingPodcast.as_view(),
26 name='missing-podcast'),
28 url(r'^add-podcast/$',
29 AddPodcast.as_view(),
30 name='add-podcast'),
32 url(r'^add-podcast/(?P<task_id>[^/]+)$',
33 AddPodcastStatus.as_view(),
34 name='add-podcast-status'),
36 url(r'^directory/\+flattr$',
37 FlattrPodcastList.as_view(),
38 name='flattr-podcasts'),
40 url(r'^directory/\+license$',
41 LicenseList.as_view(),
42 name='license-podcasts'),
44 url(r'^directory/\+license/\+url/(?P<license_url>.+)$',
45 LicensePodcastList.as_view(),
46 name='license-podcasts-url'),
48 url(r'^directory/(?P<category>.+)$', 'category', name='directory'),
49 url(r'^search/$', 'search', name='search'),
50 url(r'^lists/$', 'podcast_lists', name='podcast-lists'),