X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/b95b09260db87f6665bfcef3fb4f7c19f8acb666..a409c6cc6901eea44c2cbe3a49038eb21f2db18d:/src/dictionary/urls.py?ds=sidebyside diff --git a/src/dictionary/urls.py b/src/dictionary/urls.py old mode 100755 new mode 100644 index a5582a17a..3ab98fc9b --- a/src/dictionary/urls.py +++ b/src/dictionary/urls.py @@ -1,10 +1,9 @@ -# -*- coding: utf-8 -*- # 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'), ]