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