X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/ec93d5082ab137ec690f310eb6eba3c54d10b825..aae8a623a8d2fbc6edf6cfc5f070c161084f37be:/apps/search/urls.py?ds=sidebyside diff --git a/apps/search/urls.py b/apps/search/urls.py index 3ac5e49ff..d77d7220a 100644 --- a/apps/search/urls.py +++ b/apps/search/urls.py @@ -2,10 +2,10 @@ # This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later. # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. # -from django.conf.urls.defaults import * +from django.conf.urls import patterns, url urlpatterns = patterns('search.views', - url(r'^$', 'main', name='newsearch'), - url(r'^hint/$', 'hint'), + url(r'^$', 'main', name='search'), + url(r'^hint/$', 'hint', name='search_hint'), )