commit to CouchDB only when necessary
[mygpo.git] / mygpo / publisher / urls.py
blob1972b1ffab64c2efd6d8f53589fa07367a166553
1 from django.conf.urls.defaults 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'^podcast/(?P<id>\d+)$', 'podcast', name='podcast-publisher-detail'),
7 url(r'^podcast/(?P<id>\d+)/update$', 'update_podcast', name='podcast-publisher-update'),
8 url(r'^podcast/(?P<id>\d+)/episodes$', 'episodes', name='podcast-publisher-episodes'),
9 url(r'^episode/(?P<id>\d+)$', 'episode', name='episode-publisher-detail'),
10 url(r'^podcast/search$', 'search_podcast', name='podcast-publisher-search'),
11 url(r'^group/(?P<group_id>\d+)$', 'group', name='group-publisher'),
12 url(r'^link/$', 'link', name='link-here'),
13 url(r'^advertise$', 'advertise', name='advertise'),