X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/94a4fcc7ab9e1713dc2defc8b35c875fc90f6fa5..0b270a76ad73162f894285c360a0ee87fa84e536:/src/wolnelektury/views.py?ds=inline diff --git a/src/wolnelektury/views.py b/src/wolnelektury/views.py index a7b48c287..611ee3c89 100644 --- a/src/wolnelektury/views.py +++ b/src/wolnelektury/views.py @@ -1,5 +1,5 @@ -# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later. -# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. +# This file is part of Wolne Lektury, licensed under GNU Affero GPLv3 or later. +# Copyright © Fundacja Wolne Lektury. See NOTICE for more information. # from datetime import date, datetime from urllib.parse import quote_plus @@ -15,7 +15,6 @@ from django.core.cache import cache from django.views.generic import FormView from django.http import HttpResponse, HttpResponseRedirect from django.shortcuts import render -from django.utils.translation import gettext_lazy as _ from django.views.decorators.cache import never_cache from catalogue.models import Book, Collection, Tag, Fragment @@ -38,7 +37,7 @@ def main_page(request): ctx['widget'] = settings.WIDGETS.get(request.GET.get('w')) if not ctx['widget'] and request.EXPERIMENTS['sowka'].value: ctx['widget'] = settings.WIDGETS['pan-sowka'] - return render(request, '2022/main_page.html', ctx) + return render(request, 'main_page.html', ctx) class WLLoginView(LoginView):