X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/72252d692444e68a5857bd3b3040d5fbf9881b69..439fc561d2a4929fc82b58bc706a49cc95826eb6:/src/dictionary/urls.py diff --git a/src/dictionary/urls.py b/src/dictionary/urls.py index 8f11ac8ec..541344576 100644 --- a/src/dictionary/urls.py +++ b/src/dictionary/urls.py @@ -1,9 +1,10 @@ # This file is part of Wolne Lektury, licensed under GNU Affero GPLv3 or later. # Copyright © Fundacja Wolne Lektury. See NOTICE for more information. # +from django.contrib.auth.decorators import login_required from django.urls import path from dictionary.views import NotesView urlpatterns = [ - path('', NotesView.as_view(), name='dictionary_notes'), + path('', login_required(NotesView.as_view()), name='dictionary_notes'), ]