X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/6d42bc478e3d1bd90eb294464748c21e4de0fc63..56c5bac0c6b5fc622a0b274861a98b9dca00259e:/src/dictionary/urls.py?ds=sidebyside diff --git a/src/dictionary/urls.py b/src/dictionary/urls.py index 2baf62852..3ab98fc9b 100755 --- 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'), ]