X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/ddf2102eff7ea420a4ea5144c43409587fc1156e..94a4fcc7ab9e1713dc2defc8b35c875fc90f6fa5:/src/search/context_processors.py?ds=inline diff --git a/src/search/context_processors.py b/src/search/context_processors.py deleted file mode 100644 index d5760d10b..000000000 --- a/src/search/context_processors.py +++ /dev/null @@ -1,9 +0,0 @@ -# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later. -# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. -# -from django.urls import reverse -from search.forms import SearchForm - - -def search_form(request): - return {'search_form': SearchForm(reverse('search_hint') + '?max=10', request.GET)}