-# 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
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
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):