X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/6d42bc478e3d1bd90eb294464748c21e4de0fc63..bde2a16ae2669bea94ec0f23c60213a26d4881f4:/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'), ]