X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/b95b09260db87f6665bfcef3fb4f7c19f8acb666..ca8f4e8fef80cb603117ed579da8554f503698e5:/src/chunks/urls.py?ds=sidebyside diff --git a/src/chunks/urls.py b/src/chunks/urls.py index 0536a18b9..f02e35619 100644 --- a/src/chunks/urls.py +++ b/src/chunks/urls.py @@ -1,11 +1,9 @@ -# -*- coding: utf-8 -*- -# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later. -# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. +# This file is part of Wolne Lektury, licensed under GNU Affero GPLv3 or later. +# Copyright © Fundacja Wolne Lektury. See NOTICE for more information. # -from django.conf.urls import url +from django.urls import path from . import views - urlpatterns = [ - url(r'^chunk/(?P.+)\.(?P.+)\.html$', views.chunk, name='chunk'), + path('attachment/.', views.attachment, name='chunks_attachment'), ]