X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/b2d342589a7889a3b096e7192453d53bd28eed7d..a7a0a535382be1fd706c3faca3a81201978ba587:/src/search/context_processors.py diff --git a/src/search/context_processors.py b/src/search/context_processors.py index a3f1ea912..d5760d10b 100644 --- a/src/search/context_processors.py +++ b/src/search/context_processors.py @@ -1,10 +1,9 @@ -# -*- coding: utf-8 -*- # This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later. # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. # -from django.core.urlresolvers import reverse +from django.urls import reverse from search.forms import SearchForm def search_form(request): - return {'search_form': SearchForm(reverse('search.views.hint'), request.GET)} + return {'search_form': SearchForm(reverse('search_hint') + '?max=10', request.GET)}