X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/d6f190d50127a1aca615ff505a8a2595b4cfb7de..4fb23ed3c3396d23a37a718fc857ecc8b36b0c7f:/src/isbn/urls.py?ds=inline diff --git a/src/isbn/urls.py b/src/isbn/urls.py index dae6719ad..cd84b6737 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 Wolne Lektury, licensed under GNU Affero GPLv3 or later. +# Copyright © Fundacja Wolne Lektury. 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'), )