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