remove now unused {% load url from future %}
[mygpo.git] / mygpo / publisher / urls.py
blob0d22cfd65ceb3fcc2a6a5e73583035b7ae716328
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'^group/(?P<group_id>\d+)$', 'group_oldid', name='group-publisher'),
34 url(r'^group/(?P<slug_id>[\w-]+)$', 'group_slug_id', name='group-publisher-slug-id'),
37 url(r'^podcast/search$', 'search_podcast', name='podcast-publisher-search'),
38 url(r'^link/$', 'link', name='link-here'),
39 url(r'^advertise$', 'advertise', name='advertise'),