X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/b95b09260db87f6665bfcef3fb4f7c19f8acb666..a409c6cc6901eea44c2cbe3a49038eb21f2db18d:/src/oai/urls.py diff --git a/src/oai/urls.py b/src/oai/urls.py index 205d5e6c9..85c31afe2 100644 --- a/src/oai/urls.py +++ b/src/oai/urls.py @@ -1,11 +1,10 @@ -# -*- 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. # -from django.conf.urls import url +from django.urls import path from . import views urlpatterns = [ - url(r'^$', views.oaipmh, name='oaipmh') + path('', views.oaipmh, name='oaipmh') ]