From: Guillaume Pellerin Date: Thu, 23 Jul 2015 13:56:47 +0000 (+0200) Subject: fix url X-Git-Tag: 1.6a~4^2~10 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=d51d9e53cc3eeff1db7456c9a69a3fa7ecb32793;p=telemeta.git fix url --- 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"),