X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/6d42bc478e3d1bd90eb294464748c21e4de0fc63..4b2c05eedf0c6b3d213ce0b760d641c345e3c9b3:/src/isbn/urls.py diff --git a/src/isbn/urls.py b/src/isbn/urls.py index 2a977e530..893831e74 100644 --- a/src/isbn/urls.py +++ b/src/isbn/urls.py @@ -1,15 +1,15 @@ # 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'^dodaj/$', views.add_isbn_wl, name='add_isbn_wl'), - url(r'^potwierdzenie/$', views.confirm_isbn_wl, name='confirm_isbn_wl'), - url(r'^save-wl-onix/$', views.save_wl_onix, name='save_wl_onix'), - url(r'^tagi-isbn/(?P[a-z0-9-]*)/$', views.wl_dc_tags, name='wl_dc_tags'), + path('dodaj/', views.add_isbn_wl, name='add_isbn_wl'), + path('potwierdzenie/', views.confirm_isbn_wl, name='confirm_isbn_wl'), + path('save-wl-onix/', views.save_wl_onix, name='save_wl_onix'), + path('tagi-isbn//', views.wl_dc_tags, name='wl_dc_tags'), - url(r'^dodaj-fnp/$', views.add_isbn_fnp, name='add_isbn_fnp'), - url(r'^przypisane/(?P[a-z0-9-]*)/$', views.assigned_isbn, name='assigned_isbn'), + path('dodaj-fnp/', views.add_isbn_fnp, name='add_isbn_fnp'), + path('przypisane//', views.assigned_isbn, name='assigned_isbn'), )