remove gevent monkey-patch from feed-downloader
[mygpo.git] / mygpo / publisher / urls.py
blob9bcf200a237fe6a0325490bbabe5fcc4cf2465fe
1 from django.conf.urls import *
3 urlpatterns = patterns('mygpo.publisher.views',
4 url(r'^$', 'home', name='publisher'),
5 url(r'^(?P<username>[\w.-]+)/update$', 'update_published_podcasts', name='publisher-update'),
6 url(r'^(?P<username>[\w.-]+)/update-token', 'new_update_token', name='publisher-new-update-token'),
8 url(r'^podcast/(?P<pid>\d+)$', 'podcast_oldid', name='podcast-publisher-detail'),
9 url(r'^podcast/(?P<pid>\d+)/update$', 'update_podcast_oldid', name='podcast-publisher-update'),
10 url(r'^podcast/(?P<pid>\d+)/save$', 'save_podcast_oldid', name='podcast-publisher-save'),
11 url(r'^podcast/(?P<pid>\d+)/episodes$', 'episodes_oldid', name='podcast-publisher-episodes'),
14 url(r'^episode/(?P<id>\d+)$',
15 'episode_oldid', name='episode-publisher-detail'),
18 url(r'^podcast/(?P<slug_id>[\w-]+)/$',
19 'podcast_slug_id', name='podcast-publisher-detail-slug-id'),
21 url(r'^podcast/(?P<slug_id>[\w-]+)/update$',
22 'update_podcast_slug_id', name='podcast-publisher-update-slug-id'),
24 url(r'^podcast/(?P<slug_id>[\w-]+)/save$',
25 'save_podcast_slug_id', name='podcast-publisher-save-slug-id'),
27 url(r'^podcast/(?P<slug_id>[\w-]+)/episodes$',
28 'episodes_slug_id', name='podcast-publisher-episodes-slug-id'),
30 url(r'^podcast/(?P<p_slug_id>[\w-]+)/(?P<e_slug_id>[\w-]+)$',
31 'episode_slug_id', name='episode-publisher-detail-slug-id'),
33 url(r'^podcast/(?P<p_slug_id>[\w-]+)/(?P<e_slug_id>[\w-]+)/set-slug$',
34 'update_episode_slug_slug_id', name='publisher-set-episode-slug-slug-id'),
38 url(r'^group/(?P<group_id>\d+)$', 'group_oldid', name='group-publisher'),
39 url(r'^group/(?P<slug_id>[\w-]+)$', 'group_slug_id', name='group-publisher-slug-id'),
42 url(r'^podcast/search$', 'search_podcast', name='podcast-publisher-search'),
43 url(r'^link/$', 'link', name='link-here'),
44 url(r'^advertise$', 'advertise', name='advertise'),