X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/b95b09260db87f6665bfcef3fb4f7c19f8acb666..df60910b2d457f031cbe0a153e51e7378c0165d8:/src/dictionary/urls.py 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'), ]