X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/5074895f7d96cbd5fda6a4d566ddb25533137fd4..fc0b706f8c7eb67531df0a2acd972412e47c7010:/src/search/context_processors.py?ds=inline diff --git a/src/search/context_processors.py b/src/search/context_processors.py index 6ad2fe9e2..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')+'?max=10', request.GET)} + return {'search_form': SearchForm(reverse('search_hint') + '?max=10', request.GET)}