From 05b830a33d95f87efcc52650c21947e30df0ffc3 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Wed, 2 Nov 2011 10:30:56 +0100 Subject: [PATCH] disable zips for now --- apps/catalogue/urls.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/catalogue/urls.py b/apps/catalogue/urls.py index fbb1618f7..c770892d9 100644 --- a/apps/catalogue/urls.py +++ b/apps/catalogue/urls.py @@ -23,10 +23,10 @@ urlpatterns = patterns('catalogue.views', url(r'^szukaj/$', 'search', name='search'), # zip - url(r'^zip/pdf/.*\.zip$', 'download_zip', {'format': 'pdf', 'slug': None}, 'download_zip_pdf'), - url(r'^zip/epub/.*\.zip$', 'download_zip', {'format': 'epub', 'slug': None}, 'download_zip_epub'), - url(r'^zip/mobi/.*\.zip$', 'download_zip', {'format': 'mobi', 'slug': None}, 'download_zip_mobi'), - url(r'^zip/audiobook/(?P[a-zA-Z0-9-]+)\.zip', 'download_zip', {'format': 'audiobook'}, 'download_zip_audiobook'), + #url(r'^zip/pdf\.zip$', 'download_zip', {'format': 'pdf', 'slug': None}, 'download_zip_pdf'), + #url(r'^zip/epub\.zip$', 'download_zip', {'format': 'epub', 'slug': None}, 'download_zip_epub'), + #url(r'^zip/mobi\.zip$', 'download_zip', {'format': 'mobi', 'slug': None}, 'download_zip_mobi'), + #url(r'^zip/audiobook/(?P[a-zA-Z0-9-]+)\.zip', 'download_zip', {'format': 'audiobook'}, 'download_zip_audiobook'), # tools url(r'^zegar/$', 'clock', name='clock'), -- 2.20.1