From d51d9e53cc3eeff1db7456c9a69a3fa7ecb32793 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Thu, 23 Jul 2015 15:56:47 +0200 Subject: [PATCH] fix url --- telemeta/templates/telemeta/inc/epub_list.html | 2 +- telemeta/urls.py | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/telemeta/templates/telemeta/inc/epub_list.html b/telemeta/templates/telemeta/inc/epub_list.html index c454bbdf..1ffc0522 100644 --- a/telemeta/templates/telemeta/inc/epub_list.html +++ b/telemeta/templates/telemeta/inc/epub_list.html @@ -18,7 +18,7 @@ {{ child.title }} -
+
diff --git a/telemeta/urls.py b/telemeta/urls.py index 37ab5c8a..276428d4 100644 --- a/telemeta/urls.py +++ b/telemeta/urls.py @@ -119,10 +119,8 @@ urlpatterns = patterns('', # FIXME: need all paths url(r'^collections/(?P[A-Za-z0-9._-s/]+)/$', RedirectView.as_view(), {'url': '/archives/collections/%(path)s/', 'permanent': False}, name="telemeta-collection-redir"), - url(r'^archives/collections/(?P[A-Za-z0-9._-]+)/zip/$', CollectionZipView.as_view(), - name="telemeta-collection-zip"), - url(r'^archives/collections/(?P[A-Za-z0-9._-]+)/epub/$', CollectionEpubView.as_view(), - name="telemeta-collection-epub"), + url(r'^archives/collections/(?P[A-Za-z0-9._-]+)/zip/$', CollectionZipView.as_view(), name="telemeta-collection-zip"), + url(r'^archives/collections/(?P[A-Za-z0-9._-]+)/epub/$', CollectionEpubView.as_view(), name="telemeta-collection-epub"), # Generic resources url(r'^archives/(?P[A-Za-z0-9._-]+)/$', ResourceListView.as_view(), name="telemeta-resource-list"), -- 2.39.5