X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/ec93d5082ab137ec690f310eb6eba3c54d10b825..ab81d95154bd35a67078cc6c926b5b9fbdd9011b:/apps/search/urls.py?ds=inline 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'), )