workaround problem witch search (collision with migdal)
authorJan Szejko <janek37@gmail.com>
Fri, 31 Aug 2018 11:39:46 +0000 (13:39 +0200)
committerJan Szejko <janek37@gmail.com>
Fri, 31 Aug 2018 11:39:46 +0000 (13:39 +0200)
src/search/urls.py
src/wolnelektury/templates/base/superbase.html

index 8aae74b..5a59422 100644 (file)
@@ -6,6 +6,6 @@ from django.conf.urls import patterns, url
 
 urlpatterns = patterns(
     'search.views',
 
 urlpatterns = patterns(
     'search.views',
-    url(r'^$', 'main', name='search'),
+    url(r'^$', 'main', name='wlsearch'),
     url(r'^hint/$', 'hint', name='search_hint'),
 )
     url(r'^hint/$', 'hint', name='search_hint'),
 )
index 749b6b5..3ff768f 100644 (file)
                   </li>
                 </ul>
               </nav>
                   </li>
                 </ul>
               </nav>
-              <form id="search-area" action="{% url 'search' %}">
+              <form id="search-area" action="{% url 'wlsearch' %}">
                 <div id="search-field">
                   <label for="search">{{ search_form.q.label }}</label>
                   {{ search_form.q }}
                 <div id="search-field">
                   <label for="search">{{ search_form.q.label }}</label>
                   {{ search_form.q }}