X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/6d42bc478e3d1bd90eb294464748c21e4de0fc63..9bc86f5a6542c5893ac94284da33162a7c7be2d6:/src/dictionary/urls.py diff --git a/src/dictionary/urls.py b/src/dictionary/urls.py old mode 100755 new mode 100644 index 2baf62852..3ab98fc9b --- a/src/dictionary/urls.py +++ b/src/dictionary/urls.py @@ -1,9 +1,9 @@ # 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 dictionary.views import NotesView urlpatterns = [ - url(r'^$', NotesView.as_view(), name='dictionary_notes'), + path('', NotesView.as_view(), name='dictionary_notes'), ]