X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/b0af42626632f8750ac9e88338be7e196bd4f91d..4e4277b12a41673d67f608609776f34adc9171e2:/apps/catalogue/urls.py diff --git a/apps/catalogue/urls.py b/apps/catalogue/urls.py index f7d37616..9bd56bbe 100644 --- a/apps/catalogue/urls.py +++ b/apps/catalogue/urls.py @@ -1,6 +1,7 @@ # -*- coding: utf-8 from django.conf.urls.defaults import * from django.views.generic.simple import redirect_to +from catalogue.feeds import PublishTrackFeed urlpatterns = patterns('catalogue.views', @@ -29,8 +30,9 @@ urlpatterns = patterns('catalogue.views', url(r'^book/(?P[^/]+)/xml$', 'book_xml', name="catalogue_book_xml"), url(r'^book/(?P[^/]+)/txt$', 'book_txt', name="catalogue_book_txt"), url(r'^book/(?P[^/]+)/html$', 'book_html', name="catalogue_book_html"), - #url(r'^book/(?P[^/]+)/epub$', 'book_epub', name="catalogue_book_epub"), - #url(r'^book/(?P[^/]+)/pdf$', 'book_pdf', name="catalogue_book_pdf"), + url(r'^book/(?P[^/]+)/epub$', 'book_epub', name="catalogue_book_epub"), + url(r'^book/(?P[^/]+)/pdf$', 'book_pdf', name="catalogue_book_pdf"), + url(r'^chunk_add/(?P[^/]+)/(?P[^/]+)/$', 'chunk_add', name="catalogue_chunk_add"), url(r'^chunk_edit/(?P[^/]+)/(?P[^/]+)/$', @@ -38,4 +40,5 @@ urlpatterns = patterns('catalogue.views', url(r'^book_append/(?P[^/]+)/$', 'book_append', name="catalogue_book_append"), + url(r'^track/(?P[^/]*)/$', PublishTrackFeed()), )