X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/b95b09260db87f6665bfcef3fb4f7c19f8acb666..7a27a3fbc14b2049b8d110db15855a625e4c2455:/src/chunks/urls.py 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'), ]