X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/d6f190d50127a1aca615ff505a8a2595b4cfb7de..a409c6cc6901eea44c2cbe3a49038eb21f2db18d:/src/isbn/urls.py?ds=sidebyside diff --git a/src/isbn/urls.py b/src/isbn/urls.py index dae6719ad..893831e74 100644 --- a/src/isbn/urls.py +++ b/src/isbn/urls.py @@ -1,13 +1,15 @@ -# -*- coding: utf-8 -*- -from django.conf.urls import url +# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later. +# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. +# +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'), )